Shimmer effect in Android App

preview_player
Показать описание
How to use Facebook Shimmer effect in android.

step2: Make card layout placeholder.

Step3: for placeholder view use background color: #dddddd

step4: On Body Layout just before RecyclerView or your custom view what should be taken place after being loaded. Add ShimmerFrameLayout View and inside ShimmerFrameLayout include Placeholder Layout as many time you needed to fill your screen.

step X: At last in your Java Code. On Resume StartShimmer And OnPause Stop Shimmer by Default

StepZ: At last when Data ready in your data fetching OnSuccess method add: StopShimmer() and setVisibility(view.Gone);
Рекомендации по теме
Комментарии
Автор

I added this shimma rin effect on a button. This video was incomplete, but i've got my points. That's way Thanks. :)

md.raihanuddin