use of com.lingtuan.firefly.ui.MainFragmentUI in project SmartMesh_Android by SmartMeshFoundation.
the class BaseActivity method finishTempActivity.
public void finishTempActivity() {
if (tempActivitys != null && !tempActivitys.isEmpty()) {
for (int i = 0; i < tempActivitys.size(); i++) {
Activity act = tempActivitys.get(i);
if (!act.isFinishing() && !(act instanceof MainFragmentUI)) {
act.finish();
tempActivitys.remove(i);
i--;
}
}
}
}
Aggregations