Default ripple animation on a button resumes when a fragment is reloaded

55
September 03, 2019, at 3:10 PM

I use buttons to go between fragments in an activity. The fragment transition happens faster than the default ripple animation on the button. When I go back to a fragment, the animation on the button resumes and it looks bad.

Is this intended? Where might I be doing wrong? What can I do to fix this?

I use ViewPager and viewPager.setCurrentItem(x); method to change between fragments.

I found this thread but it does not answer my question.

READ ALSO
onBackPressed disabled method in adroid studio

onBackPressed disabled method in adroid studio

For webview back button in android studio"onBackPressed" methot not working

53
Suddenly after implementing firebase many import statements becomes unused and can't resolve many symbols

Suddenly after implementing firebase many import statements becomes unused and can't resolve many symbols

I'm new to Android, Was learning from youtube from following playlist

46
Is there an event to check when the recipient answered the call?

Is there an event to check when the recipient answered the call?

I want to catch when the recipient gets a callTelephonyManager

41
How to whitelist installer package during kiosk mode/ lock task mode?

How to whitelist installer package during kiosk mode/ lock task mode?

I have created an kiosk application it has update functionality for other application within the device but the installer package is blockedHow to whitelist installer package?

28