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

Crash Aplicattion #58

Open
diegoarielbarriosmichalik opened this issue Oct 15, 2016 · 2 comments
Open

Crash Aplicattion #58

diegoarielbarriosmichalik opened this issue Oct 15, 2016 · 2 comments

Comments

@diegoarielbarriosmichalik

.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

@matuxneo
Copy link

Estou com o mesmo problema.

@ShinChven
Copy link

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

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

3 participants