Modified to read imageview from adapter