saulmm / CoordinatorBehaviorExample

2.71k stars 590 forks source link

Getting an error while running this project. #41

Closed ravi9598 closed 5 years ago

ravi9598 commented 6 years ago

Caused by: android.view.InflateException: Binary XML file line #0: Could not inflate Behavior subclass saulmm.myapplication.AvatarImageBehavior.

carlosfpj commented 6 years ago

I have the same mistake, but i presume we have to compile some 'com.something.somethingelse' file in the gradle, but i dont know what exactly

carlosfpj commented 6 years ago

Found it ravi, put your apppackage.yourclassAvatarImageBehavior in the attribute app:layout_behavior, and it will work

ravi9598 commented 5 years ago

thanks