mrKlar / PagedDragDropGrid

An Android ViewGroup that implements a paged grid with drag'n'drop moveable items
406 stars 184 forks source link

One page #18

Open Bigli opened 11 years ago

Bigli commented 11 years ago

Hey all, how do you implement one page, which will be on the item is 10-20, but the visible part is only 3, and you can just scroll through them without having to switch to the page.That there was one common Pag.

Thank you.

lkorth commented 11 years ago

If you only want 1 page, make public int pageCount() return 1 always.

If you want it to scroll vertically, change PagedDragDropGrid to extend ScrollView.

Bigli commented 11 years ago

Thank you, but I need to scroll to the horizontal, when I add the item is more than 3 to 1 page, the item is 4 out of the field of view, and scrolling does not work.

lkorth commented 11 years ago

I would use multiple pages then.

riham-fanos commented 10 years ago

Hi,

I made public int pageCount() return 1 always.

but I see there are two pages (page 0 and page 1)

how I can solve this problem?

Thanks