Tag: Recyclerview
-
Pagination with Paging 3 in Android Example
The Paging 3 library helps you to load and display data from a larger dataset from local storage or from API. This will helps your app to use both network and system memory more efficiently. Paging 3 library is designed to fit into the recommended Android app architecture, integrate cleanly with other Jetpack components, and […]
-
Update Android Recyclerview Using Diffutil
If you are an Android Developer, I am sure you’ve used RecyclerView in your android application. In this tutorial, I am going to explain how to update the RecyclerView with DiffUtils. What exactly is RecyclerView? RecyclerView is a more adaptable and efficient version of ListView. It is a container for displaying a larger data set […]
-
Jetpack compose – Retrofit with Recyclerview
In this post, I am going to explain about using the retrofit and recyclerview in jetpack compose with MVVM pattern. Everybody knows that the Jetpack Compose is a modern toolkit designed to simplify UI development. Before jumping into this example on retrofit and recyclerview. I have created posts on jetpack compose components, layouts, modifiers, and […]
-
Android RecyclerView Item Animations in Kotlin [Example]
We are using recyclerview, for almost all of our android applications. It’s very useful to know about recyclerviews. in this post, I have explained all about animating recyclerview using the simple anim XML file. Steps to animate recyclerview items in android Create an animation XML file To create an animation XML layout, Create an anim […]
-
MVVM with Kotlin Coroutines and Retrofit [Example]
Coroutines are a neat new feature of the Kotlin language that allows us to write asynchronous code in a more idiomatic way. — This also means you can write asynchronous code the same way you would normally write synchronous code in your project. Already, I have explained MVVM in detail in another post. Please check that […]
-
MVVM With Retrofit and Recyclerview in Kotlin [Example]
MVVM architecture is a Model-View-ViewModel architecture that removes the tight coupling between each component. Most importantly, in this architecture, the children don’t have a direct reference to the parent, they only have the reference by observables. What is MVVM? MVVM stands for Model, View, ViewModel. Model: This holds the data of the application. It cannot directly talk to […]
-
Easy Way To Implementing Pagination With Recyclerview
Pagination with Recyclerview allows the user to see the latest content page by page. As we load the next ‘page’ by the time users scroll to the bottom, more content is loaded and available. What is Recyclerview? Android RecyclerView is a more advanced, powerful, and flexible version of ListView. Android RecyclerView is similar to ListView except that […]
-
Implementing Pull To Refresh In Android With Example
Do you want to refresh the layout or screen easily? Then, use this Swipe to Refresh Layout to refresh the layout by pulling the screen from the top. Android SwipeRefreshLayout should be used whenever the user can refresh the contents of a view via a vertical swipe gesture. The activity that instantiates this view should add an OnRefreshListener to […]
-
How To Setup Recyclerview With Search Filter In Android ?
Earlier, I explained Recyclerview and Cardview in detail. Now, I am going to explain about Android Recyclerview Search Filter with an Example. SearchView can be used to filter the data displayed in the RecyclerView. While using Toolbar’s search widget to input the search query. So, Follow the steps to develop the application with Android Recyclerview Search […]
-
How to create recyclerview with Swipe Menu in android ?
In this post, I am explaining how to create a recyclerview with a swipe menu. by swiping the right side of the recyclerview, you can see the menu to edit and delete the particular item in the recyclerview. We are going to create a menu on top of the recyclerview items. But, I am not going […]