lucasr / smoothie

[DEPRECATED] Easy async loading for Android's ListView/GridView
985 stars 163 forks source link

Use Smoothie with StaggeredGridView #13

Closed quintos closed 11 years ago

quintos commented 11 years ago

Hi,

I'm experimenting with a StaggerdGridView and would it be possible to make Smoothie compatible with that? I's not a subclass of AbsListView.

https://github.com/maurycyw/StaggeredGridView

Thanks!

lucasr commented 11 years ago

Smoothie relies on AbsListView's OnScrollListener states to determine when to stop and start loading items as you scroll. So, you'd have to 1) Add support for OnScrollListener in StaggeredGridView 2) Create your own "AsyncStaggeredGridView" hooking up with Smoothie private API.

quintos commented 11 years ago

Thanks,

But the ItemManaged class needs an AbsListView. I can create an interface for it? but then i would need to modify it..