// 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);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.