android.widget.ImageView cannot be cast to android.widget.CheckBox -
my code crashing , giving error image view cannot cast checkbok. source code shown below. pl me figure out pblm package com.example.application1; import android.content.context; import android.content.intent; import android.content.res.resources; import android.database.cursor; import android.graphics.bitmap; import android.os.bundle; import android.provider.mediastore; import android.provider.mediastore.images.media; import android.util.sparsebooleanarray; import android.view.layoutinflater; import android.view.view; import android.view.window; import android.view.view.onclicklistener; import android.view.viewgroup; import android.view.animation.animation; import android.view.animation.animationutils; import android.widget.adapterview; import android.widget.adapterview.onitemclicklistener; import android.widget.baseadapter; import android.widget.button; import android.widget.checkbox; import android.widget.compoundbutton; import android.widget.compoundbutton.oncheckedchangelis...