// Declare your loading map with status recognition in getUnits() function. viewUnits = new Runnable(){ @Override public void run() { getUnits(); } }; //It'll stope the progress only after finish with getUnits(); there you'll do the map's status check. Thread thread = new Thread(null, viewUnits, "MagentoBackground"); thread.start(); m_ProgressDialog = ProgressDialog.show(UnitsModelListViewActivity.this, "Please wait...", "Retrieving data/Loading ...", true);
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.