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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -