I have a gallery which contains one textview and imageview. If i set OnClickListener on Imageview , Gallery stops scrolling. I need a clickable and scrollbale gallery where user can click either on imageview or textview will shows the next activity of application.
In onClick event i want to pass some data to next activity via bundle. If i call onClick outside of the ImageAdapter class i cant pass the data to next activity.
If i put holder.image or gallery instead of holder.text. gallery stops scrolling.
Please suggest me some solution so that i can click image as well as text and at the same time i can scroll the gallery.