leandroBorgesFerreira / LoadingButtonAndroid

A button to substitute the ProgressDialog
MIT License
1.94k stars 214 forks source link

startAnimation() does not work with viewBinding #181

Open Alirezanr opened 3 years ago

Alirezanr commented 3 years ago

startAnimation() method works perfectly fine with findViewById() but when I use it with viewBinding (for example someFragmentBinding.someCircularProgressButton.startAnimation() ) it gets compile time error with below error:

error: no value passed for parameter 'p0' someFragmentBinding.someCircularProgressButton.startAnimation()

ChhaiHout commented 2 years ago

If you use v2.1.5, you call someFragmentBinding.someCircularProgressButton..startMorphAnimation() instead.