I have a ListView which contain Button & ImageView, when I click the button it should go to gallery & attach/assign image to ImageView at that position.
But there i am facing a problem , when I click on button,I am calling startActivityForResult from Adapter class & for that onActivityResult is in MainClass(because we can't write it in AdapterClass) where we call adapter. So lets say I know position of ListView then how can we assign image at that position?