java - ImageView.findViewById on a null object reference -
this question has answer here:
- what nullpointerexception, , how fix it? 12 answers
i've made simple mistake cannot figure out how correct it. it's null object reference .
thanks advice !
instead
imageview = (imageview)imageview.findviewbyid(r.id.simplicity_bg_id);
replace with
imageview = (imageview) findviewbyid(r.id.simplicity_bg_id);
Comments
Post a Comment