Posts

Showing posts with the label Facebook Shimmer

Facebook Shimmer Effect Android Example

Image
Shimmer  effect was created by Facebook to show loading status instead of showing ProgressBar. In this article, I’m going to take you through my journey of replacing the ProgressBar with Shimmer  effect. App Intro To replicate the Facebook Shimmer  animation, I built a simple app where we’re gonna execute movies fetching network request. We’re gonna hit an URL  and download Json data and show in a GridView. While application fetching movies instead of showing ProgressBar, we’re gonna show the Shimmering  effect and in successful or in error case stop the effect. Gradle Stuff Facebook Shimmer  effect requires us to add some more stuff to our application modules  build.gradle  file. We start by adding the following dependencies right after the  android  section: Recommended for you // Facebook shimmer effect dependency implementation 'com.facebook.shimmer:shimmer:0.1.0@aar' // Retrofit dependency implementation 'com.sq...