AkshayChordiya / News

A sample News 🗞 app built using Modern Android Development [Architecture Components, Coroutines, Retrofit, Room, Kotlin, Dagger]
MIT License
848 stars 166 forks source link

implement the Paging library #13

Open guanjianzhe opened 6 years ago

guanjianzhe commented 6 years ago

hi

what about implementing the Paging library: https://developer.android.com/topic/libraries/architecture/paging/

AkshayChordiya commented 6 years ago

It sounds exciting. Paging the news was previously missing in Newsapi v1 but with v2 they have added support for going through several articles so we can implement it. I'll mark it for next release.

AkshayChordiya commented 5 years ago

I have actually finished this without database support I think. Will push it soon.

annshsingh commented 4 years ago

@AkshayChordiya Hey, any update on this?

AkshayChordiya commented 4 years ago

No update on this. I had started with it but then couldn't finish it due to reasons but now I think it's better to wait since the Android Team is working on a major overhaul of paging library with Kotlin coroutines and Flow support 🎉

Ezike commented 4 years ago

Yeah that's great

iNoles commented 4 years ago

Paging 3.0 Alpha 1 has Flow Support. https://android.googlesource.com/platform/frameworks/support/+/androidx-master-dev/paging/common/api/3.0.0-alpha01.txt

AkshayChordiya commented 4 years ago

That's great. Let's wait till it's out

iNoles commented 4 years ago

Google made blog posts for this. https://android-developers.googleblog.com/2020/07/getting-on-same-page-with-paging-3.html

https://developer.android.com/jetpack/androidx/releases/paging#3.0.0-alpha02

AkshayChordiya commented 4 years ago

Thanks everyone! I'll give it a shot soon 🙏