Would like to ask my gridview each line has a gridview and a textview, then I want to click on any line, jump to another screen while the contents of the corresponding gridview and textview pass over.
gv.setOnItemClickListener (/ / Set option is clicked listener
new OnItemClickListener () {
@ Override
public void onItemClick (AdapterView arg0, View arg1, int arg2,
long arg3) {/ / rewrite option is clicked treatment
events
here should be how to write ah }
Thank you! ! ! !
Reply: arg1 is clicked view, arg2 is click on view in the index in gridview
Reply: With bundle pass over.
No comments:
Post a Comment