ChadCSong / ChadCSong/ShineButton
In fragment don't work the explosion in the icon
- Dominant language
- Kotlin
- Stars
- 4.2k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm trying to implement the library. The icon change the color and do the effect of the moviment, but is not working inside a fragment. If I copy the same code in an activity, it is working fine.
Have the library a problem working in a fragment?
Fragment code:
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
shineButton = (ShineButton) getView().findViewById(R.id.po_image0);
shineButton.init((HomeActivity)getActivity());
shineButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
}
});
}
XML code:
Contributor guide
Assessment
This issue has not been assessed yet.