android - Getting list item index -
other using listeners, there way can index of item in list?
if using 'getcheckeditemposition' dont forget set choice mode single in order ensure 1 item can selected @ time. ie via
getlistview().setchoicemode(listview.choice_mode_single);
and answer question : yes , can used without listener.
Comments
Post a Comment