Crashing when opening an item
nikandlv opened this issue · 2 comments
Hi. Its a nice template and sample to learn from.
I did compiled the app and everything is fine but when i open a item it will crash on article detail fragment and activity. Heres the log cat
https://gist.github.com/nikandlv/8a0a1a573265109ddced383526ae6048
I guess your view object (backdropImg) is null. Does view binding work for other elements? Maybe you can try to remove the line " Glide.with(this).load(dummyItem.photoId).centerCrop().into(backdropImg);" just for testing. Which butterknife version do you use?
Removing that line did crashed as well.
Heres my gradle
compile "com.android.support:appcompat-v7:24.2.0"
compile "com.android.support:design:24.2.0"
compile "com.android.support:cardview-v7:24.2.0"
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.jakewharton:butterknife:7.0.1'