¡@

Home 

2014/10/16 ¤W¤È 08:11:56

android Programming Glossary: currentselectedview

Android ListView Selection Problem

http://stackoverflow.com/questions/2042278/android-listview-selection-problem

a instance variable on top of your class private View currentSelectedView then go to @Override public void onListItemClick ListView l.. onListItemClick ListView l View v int position long id if currentSelectedView null currentSelectedView v unhighlightCurrentRow currentSelectedView.. l View v int position long id if currentSelectedView null currentSelectedView v unhighlightCurrentRow currentSelectedView currentSelectedView..

Android ListView Selection Problem

http://stackoverflow.com/questions/2042278/android-listview-selection-problem

id of the selected item into some variable. you need to create a instance variable on top of your class private View currentSelectedView then go to @Override public void onListItemClick ListView l View v int position long id if currentSelectedView null currentSelectedView.. View currentSelectedView then go to @Override public void onListItemClick ListView l View v int position long id if currentSelectedView null currentSelectedView v unhighlightCurrentRow currentSelectedView currentSelectedView v highlightCurrentRow currentSelectedView.. then go to @Override public void onListItemClick ListView l View v int position long id if currentSelectedView null currentSelectedView v unhighlightCurrentRow currentSelectedView currentSelectedView v highlightCurrentRow currentSelectedView other codes Pretty..