Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

ListView animation freezes #13

Closed
mastrgamr opened this issue Sep 2, 2015 · 2 comments
Closed

ListView animation freezes #13

mastrgamr opened this issue Sep 2, 2015 · 2 comments

Comments

@mastrgamr
Copy link

Every time I use the widget in a ListView with more than 3 or 4 items using the viewholder pattern, the list items after that 3rd or 4th item does not animate.

I've tried to startAnimation programatically and also tried setting the app:auto_start attribute to true in the layout's attributes.

@esiek
Copy link

esiek commented Mar 8, 2016

In RecyclerView animation freezes too :( while first initialize

@danishaziz19
Copy link

i found solution.

final View finalConvertView = convertView;

        new Thread(new Runnable() {
            public void run() {
                activity.runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
                        ShimmerFrameLayout shimmer_view_container = (ShimmerFrameLayout) finalConvertView.findViewById(R.id.shimmer_view_container);

                        shimmer_view_container.stopShimmerAnimation();

                        shimmer_view_container.startShimmerAnimation();

                    }
                });
            }
        }).start();

@xiphirx xiphirx closed this as completed Feb 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants