shimmer-android
shimmer-android copied to clipboard
An easy, flexible way to add a shimmering effect to any view in an Android app.

i've got a lot of events in Crashlytics with this description: ``` Fatal Exception: java.lang.RuntimeException Canvas: trying to use a recycled bitmap android.graphics.Bitmap@918d560 android.graphics.BaseCanvas.throwIfCannotDraw (BaseCanvas.java:77) android.view.ViewGroup.dispatchDraw (ViewGroup.java:5093) com.facebook.shimmer.ShimmerFrameLayout.dispatchDraw (ShimmerFrameLayout.java:157) ```
ShimmerDrawable not working with View.LAYER_TYPE_HARDWARE and View.LAYER_TYPE_SOFTWARE. Environment: Android emulator, Pixel 4 api 31 ```java Shimmer shimmer = new Shimmer.ColorHighlightBuilder() .setBaseAlpha(0.7f) .setHighlightAlpha(0.9f) .setDuration(10000) .setDirection(Shimmer.Direction.TOP_TO_BOTTOM) .setAutoStart(true) .build(); ShimmerDrawable shimmerDrawable = new...
Current library version 0.5.0 was released more than 3 years ago. As of today the `main` branch is ahead of 0.5.0 release by [25 commits](https://github.com/facebook/shimmer-android/compare/0.5.0...main) (including important crash and OOM...
Currently any view under the `` will shimmer by default. I was wondering whether this shimmer library has a feature where - **I can ignore any child view(s) from shimmering!!**...
Hi guys, I have ViewPager2 up and running with four pages, all having shimmer effects on their RecyclerViews. When I load the ViewPager2 the first time, it takes a very...
I want shimmer effect in circular path around a circular view. How can i achieve this ? This library supports only 4 values for shimmer_direction ``` ```
Hi. There is such a problem. I have a `RecyclerView` list which contains, let's say 100 elements, each element is a `viewHolder `-> `textView `wrapped in a shimmer. When the...
This change allows users of `ShimmerFrameLayout` to query/change a value of repetitions count and add/remove animator listeners. With these changes users will be able to change a shimmer effect when...
implementation 'com.facebook.shimmer:shimmer:0.1.0@aar'//using aar implementation 'com.facebook.shimmer:shimmer:0.1.0' //using jar startshimmeranimation(), stopShimmerAnimation() New Version Details implementation 'com.facebook.shimmer:shimmer:0.5.0@aar' implementation 'com.facebook.shimmer:shimmer:0.5.0' startShimmer() stopShimmer() Note:latest version startshimmeranimation/stopshimmeranimation not there, please help me get out this issue....