How am I suppose to go to different activities respectively after I click each of the Images above like If I click Honeycomb i would go to Honeycomb class and when i click on Eclair, I would go to eclair class and so on.
Asked
Active
Viewed 53 times
1 Answers
0
Need more details for your question, but in general, if you want to go from one activity to different activity by selecting different images you can use Recycler View and set onClickListner on images in adapter class and set action startActivity(intent) according to image position. for more details about Recycler View and its implementation, check this link- http://www.androidhive.info/2016/01/android-working-with-recycler-view/

Ravi Prakash Yadav
- 390
- 4
- 14
-
I am designing a message Receiving feature for my app..interface have been done with RecyclerView and CardView.. for the time being i used image and name here.. so when i click on listed item, i want the item to show in other activity. – Munir khan Nov 02 '16 at 12:08
-
you can impliment onClicklistner in you bindview holder method and pass your item through intent and start new activity. – Ravi Prakash Yadav Nov 03 '16 at 10:29
-
check this link for more details-http://stackoverflow.com/questions/28767413/how-to-open-a-different-activity-on-recyclerview-item-onclick – Ravi Prakash Yadav Nov 03 '16 at 10:33