android-smart-image-view icon indicating copy to clipboard operation
android-smart-image-view copied to clipboard

Crash Aplicattion

Open diegoarielbarriosmichalik opened this issue 9 years ago • 2 comments

.XML <com.loopj.android.image.SmartImageView android:id="@+id/my_image" android:layout_height="match_parent" android:layout_width="match_parent" />

.JAVA SmartImageView myImage = (SmartImageView) findViewById(R.id.my_image); myImage.setImageUrl("http://www.awesomeimages.com/myawesomeimage.jpg");

Manifiest

error FATAL EXCEPTION: main Process:, PID: 14393 java.lang.NullPointerException: Attempt to invoke virtual method 'void com.loopj.android.image.SmartImageView.setImageUrl(java.lang.String)' on a null object reference

Estou com o mesmo problema.

matuxneo avatar Aug 29 '19 02:08 matuxneo

This library is too old, you guys should consider using modern libs like glide.

ShinChven avatar Sep 12 '19 08:09 ShinChven