android - Applying adapter to ListFragment -
I have a simple question as soon as we are able to apply the executor in writing in the following manner:
getListView (). SetAdapter (new myadapter ());
It also does not work for ListFragment.
Any updates can be made, as it is not different from quoting API references. Public void activation (bundled saved instenestate) {// TODO auto generated method stub super super on
Problem:
GetListView ()
When you are trying to call that method in your piece, it will not tell the list view context of your activity, the list view of your piece
Here:
Get a list of activity view widgets.
Use setListAdapter
to set the adapter of the piece instead
Sample:
setListAdapter (new mediator ());
Comments
Post a Comment