I want to use paging library in my application, I have seen multiple sample they all are using view modal component with MVVM architecture, But most of the part of my application is in MVP architecture and I don't want to use MVVM, So is there any way to implement pagination with paging library with MVP architecture?
Is it possible to use paging library with MVP architecture in android?
1.4k Views Asked by ramkrishna kushwaha At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in ANDROID-ARCHITECTURE-COMPONENTS
- Repository module implementation with Context
- Observe LiveData from JobService
- LiveData List doesn't update when updating database
- Know available versions of dependencies in Maven
- Android App Architecture: Implements user permission in lifecycle
- Sharing data between fragment and its parent activity using ViewModel
- Nullability and LiveData with Kotlin
- Android Architecture Components ViewModel context issue
- Architecture Components ViewModels inject with dagger with params that come from the Activity/Fragment
- How can I use WearableActivity with LiveData and ViewModel
- LiveData does not call LifecycleRegistryOwner if standard Fragment is used
- Query does not work with ORDER BY with two `in` clause in Room Persistence lib
- Understanding Android Architecture Components example GithubBrowserSample: ViewModelModule, ViewModel parameters
- LifecycleRegistryOwner class is deprecated
- ViewModel for Fragment instead accessing Activity ViewModel?
Related Questions in ANDROID-MVP
- Android MVP - RxJava and retrofit - best approach
- Dagger2 merge components for MVP
- Fatal Exception thrown on Scheduler - rxJava2 in Android
- Presenter in MVP(Android) gets deleted/gets null inside Fragment
- In MVP pattern, should Presenter be activity-wise or functionality-wise of Android app
- Retrofit Android : How To Get JSON Data With Retrofit MVP
- fetch data for spinners from REST APi [cascade]
- Is it possible to use paging library with MVP architecture in android?
- okhttp3.Cache cannot be provided without an @Inject constructor or from an @Provides-annotated method
- Android: Create new instance of bundle and pass to intent in dagger in mvp
- Constructor injecting make MissingBinding in dagger 2 and mvp
- passing objects in mvp arch
- MVP - Presenter comparision: view injected in constructor vs takeView(View v) / dropView()
- DatePickerDialog.OnDateSetListener() and MVP
- Android MVP Null object Reference
Related Questions in ANDROID-MVVM
- How to auto-save a form on Android - Best practices
- How do I use MVVM with bound service?
- How to create kotlin data class for this network service?
- Room Coroutine is executed in main thread
- Unable to send current city name to the API
- Android: ViewModel with paging 3 flow is leaking
- Passing query parameters to LiveData/Viewmodel in Android app
- Clear retrofit result with MVVM when fragment back
- How to implement RoomDataBase in An Activity using Dagger Hilt Injection in View Model
- How to make ViewModels communicate with same Model if I shouldn't in MVVM create Model in View?
- Android: Model mapping in repository pattern
- stateflow collect not firing in fragment
- How to create singleton object and using for UI and viewmodel for two screen in kotlin jetpack compose?
- Update the count value in Column Item Android Jetpack Compose
- LiveData observer triggering previous response
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, you can. You can initiate Datasource Factory and implement methods in Presenter like
Then, you can call presenter method from your activity or fragment like
It worked for me.