Can anyone tell me how to make text items selectable ?
Here is my current adapter code:
final ParseQueryAdapter adapter = new ParseQueryAdapter(this, "Prem");
adapter.setTextKey("des");
ListView listView = (ListView) findViewById(R.id.newslistview);
listView.setAdapter(adapter);
What is missing ?
The
ListViews default choice mode should be set toCHOICE_MODE_SINGLEwhich means it should allow you to select one item. I suppose this could be affecte byParseQueryAdapters pagination. Try to disable it withadapter.setPaginationEnabled(false). Also callsetChoiceMode()manually on yourListViewto specify it.