Tuesday, February 11, 2014

Android listview Item listening event


            
Listview click on an activity item to jump to the next activity to pay attention to what the problem is, I wrote a program set up itemlistener click the item, but it did not react, there are problems that may arise is what ah? ? ? (The program can run without error, but did not jump is to click on item response)
Reply:
Code is definitely wrong! ! ! !
Reply:
Posted ~ ~ ~ otherwise nobody speaks clearly!
Reply:
reference to the second floor u011133213 reply:
posted ~ ~ ~ otherwise nobody speaks clearly!
code better. . . . How to do. . . . Can you tell me the simple steps to set firm listview do,
Reply:
Possible problems, first, as the upstairs said, the code was wrong;
Second, if you examine the code is correct, and that there may be a view or have the focus on this item, as being Marquee TextView etc.

Reply:

Is setOnItemClickListener ah
Then rewrite function, startActivity, you'd better stick under the code, and error logs ah
Reply:
The first listener event did not work, look no action has triggered.
Second Activity Registration
The third jump start startActivity (intent);

No comments:

Post a Comment