parse-community / ParseUI-Android

ParseUI contains user interface libraries for building apps with the Parse Android SDK.
Other
592 stars 323 forks source link

ParseQueryAdapter for View Pager #98

Closed pablobaxter closed 8 years ago

pablobaxter commented 8 years ago

I had attempted to do a pull request on this, but due to some issues, attempting to do it again on this account. Here is the info:

This is a ParseQueryAdapter for use with ViewPager. Uses FragmentStatePagerAdapter v13 under the hood, but works basically like ParseQueryAdapter, except it attaches to a ViewPager.

This requires the minimum SDK to be raised to 13, due to the v13 support library usage. If needed, this can be modified to use the v4 support library quite easily.

Unit tests similar to that of ParseQueryAdapter, but modified for use with Fragments. Documentation also updated.

wangmengyan95 commented 8 years ago

Thanks for the PR @pablobaxter!! I am trying to fetch the PR and play with it. Since it is a large PR, it will take me some time to fully understand and review it. I will update my status here.

grantland commented 8 years ago

Thanks for your contribution, but we'd suggest using ParseQueryPager + RecyclerView for this use case (#129 #130).