You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get crash when try to create blurView dynamically. Look at the code - this contructor is useless. Just replace super with this and it will work without crash.
public BlurLayout(Context context) { super(context, (AttributeSet)null); this.invalidationLoop = new NamelessClass_1(); }
What crash I get:
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageBitmap(android.graphics.Bitmap)' on a null object reference at io.alterac.blurkit.BlurLayout.invalidate(BlurLayout.java:166)
The text was updated successfully, but these errors were encountered:
I get crash when try to create blurView dynamically. Look at the code - this contructor is useless. Just replace
super
withthis
and it will work without crash.public BlurLayout(Context context) { super(context, (AttributeSet)null); this.invalidationLoop = new NamelessClass_1(); }
What crash I get:
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageBitmap(android.graphics.Bitmap)' on a null object reference at io.alterac.blurkit.BlurLayout.invalidate(BlurLayout.java:166)
The text was updated successfully, but these errors were encountered: