android - WIFI P2P discovery list is not getting refreshed? -
i working on application listed wifi p2p nearby devices in list. problem is showing device wifi disable now. able detect new devices , can list in listview not able remove old ones. in advance.
in brodcastreceiver inside wifip2pmanager.wifi_p2p_peers_changed_action matching action call requestpeers() method , dont call inside anyother match.....also use peers.clear() [that may ur arraylist of adapter]. before calling requestpeers().
Comments
Post a Comment