The desired effect is that when you click on a particular item, click on it to replace the current line item in the layout, the other unchanged. Is viewgroup it? ? Solving ah! ! ! ! !
Reply:
Before this is

Such

change after clicking
Reply:
You click on that record position, in which getView again to the corresponding position of convertView give your new layout, and then use mAdapter.notifyDataSetChanged () to
Reply:
so sorry.
Reply:
There are two ways to do it. The first is to define the interface into the activity, when the point of the item on for another activity. Of course, this method is not recommended, because each activity is attributable to memory. The second is that this activity in places where you want to change the layout used include control, and then you have to include the layout of the controls in the interface, but this return to a bit of trouble, press the rewind is not retreat back to the original interface, have an additional one button or item event to handle the return event
Reply:
Reference: http://bbs.csdn.net/topics/390653463?page=1 # post-396189586
My reply to it
Reply:
Can paste code snippets? Or, more elaborate ah, thank! ! !
Reply:
To the corresponding position of convertView give you a new layout? ?
Reply:
The problem has been resolved, Results posted! !
No comments:
Post a Comment