Skip to content
This repository was archived by the owner on Mar 26, 2019. It is now read-only.
This repository was archived by the owner on Mar 26, 2019. It is now read-only.

Can't scroll all the way down #42

@kuuuurt

Description

@kuuuurt

Here's the skeleton of my XML for the main activity

<CoordinatorLayout>
    <AppBarLayout>
        <Toolbar/>
    </AppBarLayout>

    <FrameLayout/>

    <BottomNavigation/>
</CoordinatorLayout>

The FrameLayout holds a fragment and here's how it looks like:

<ConstraintLayout>

    <RecyclerView />

    <include layout="@layout/base_list_loading"/>

    <include  layout="@layout/base_list_empty"/>

</ConstraintLayout>

The problem is when using your SpannedGridLayoutManager, I'm not able to scroll all the way down. It Can just scroll for like 1/8th of the page.

I also have 3 Item Types:

  • Type 1 - SpanSize(2,3)
  • Type 2 - SpanSize(4,3)
  • Type 3 - SpanSize(4,6)

I can't use (1,1), (2,1), and (2,2) as your library changes the sizes and I need to have the layouts at the ratio for the images. It works when I use these though but then again, I need the sizes to be of that ratio.

Also, In your scrollBy function, the canScrollForward flag returns a false even though I'm haven't fully scrolled down the screen yet.

Would there be a way that we can define the size/ratio of 1 cell so as a SpanSize(1,1) can sort of look like a 2:3 square? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions