Android Paging Library With Example
| | | | |

Android Paging Library With Example

Hello, guys today we’re gonna look out a new Android Architecture Component library called Paging. In this blog, I try to explain the different components of the library and tell how they interact. Paging library makes it easier to load data gradually and gracefully in your app. The paging library supports both large bounded list…

Android Example : Animate marker on Google map with current location
| | |

Android Example : Animate marker on Google map with current location

Hi, guys today we’re going to see how we can animate marker on google map with user current location. In this blog, we’re going to use the Google Map API for google maps. I’m not going to show how you can get Google Map API from Google Console. If you want to see how to…

Android Google Map Street View Example
| | | |

Android Google Map Street View Example

Hey, today we’re going to learn how we can integrate Google Map Street View into our Android app. Google Street View provides panoramic 360* views. The coverage available through the Google Map Android API v2 is the same as that for Google Map. You can read more about Street View here. Google Map Setup  First, sign…

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 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…

Dagger with Retrofit Example – Set up Dependency Injection
| |

Dagger with Retrofit Example – Set up Dependency Injection

 Today, we’re going to learn about Dagger 2. Dagger 2, first of all, is really an annotation processor or just the code generator. Many of the people seem to think that Dagger 2 is how you do dependency injection, actually, it’s not. It is just a boilerplate code generator and dependency injection is something…