Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having Crash at scaleView.setScaleX(0) in likeAnimation #14

Open
sunilsoniudaipur opened this issue Jul 28, 2018 · 0 comments
Open

Having Crash at scaleView.setScaleX(0) in likeAnimation #14

sunilsoniudaipur opened this issue Jul 28, 2018 · 0 comments

Comments

@sunilsoniudaipur
Copy link

having a crash during the likeAnimation method call.
I am using the ImageView inside the SmallBang

       <xyz.hanks.library.bang.SmallBangView

        android:id="@+id/bang_icthumsup"
        android:layout_width="match_parent"
        android:layout_height="74dp">

        <ImageView
            android:id="@+id/ivthumbsup"
            android:layout_width="64dp"
            android:layout_height="64dp"
            android:layout_gravity="center_horizontal"
            android:padding="10dp"
            android:src="@drawable/ic_thumbsup" />

and Just initlize the
mSmallBang =(SmallBangView) findViewById(R.id.bang_icthumsup);
if(mSmallBang!=null)
mSmallBang.likeAnimation();

but got crash with null poiner exception for scaleView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant