Solved issue, Recycler View changes the views when scrolling.
| | | |

Solved issue, Recycler View changes the views when scrolling.

I’ve met this problem with Recycler View. When I update a view, like changing the CheckBox, SwitchCompat, change the background color of view etc. After that when I scroll down or go up the view back to its normal position like the changes that I made it’s gone from view. It is because RecyclerView recycles every view which is…

Dagger With Retrofit And RxJava Example | RecyclerView
| | |

Dagger With Retrofit And RxJava Example | RecyclerView

This is the third part of Dagger with Retrofit tutorial. In this part, we’re going to make our network request with RxJava and simply show data in RecyclerView. Note: I strongly recommend you to see my previous blogs this series. If you haven’t seen my previous blogs, then I’m afraid you will not understand. So, without further ado…

Dagger with Retrofit Example – Using Dependency Injection in Activity
| |

Dagger with Retrofit Example – Using Dependency Injection in Activity

This is the second part of Dagger with Retrofit tutorial. In the first part, we’ve achieved the hard part of how to set up dependency injection. In this article, we’re gonna see how we can use the dependencies in our Activity. So, let’s begin with adding Dagger to our Activity. Below is the MainActivity. @Override protected void…