HOW TO USE SHIMMER EFFECT IN ANDROID(LIKE FACEBOOK,LINKDIN)
In this post I will show you how you can make your android app design beautiful by adding Shimmer Effect.
Shimmer effect was created by Facebook to indicate a loading status, so instead of using ProgressBar or usual loader use Shimmer for a better designand user interface. They also open-sourced a library called Shimmer both for Android and iOS so that every developer could use it for free.
STEPS:
1:Add Shimmer Library to build.gradle :
implementation ‘com.facebook.shimmer:shimmer:0.1.0@aar’
2: Now create a new layout ‘placeholder_layout.xml’. This layout will act as a placeholder viewuntil the data is not loaded from the API.