Example #1
0
 /**
  * Remove all view managers
  *
  * @param andDestroyThem If true then also call destroy
  */
 public void removeAllViewManagers(boolean andDestroyThem) {
   List local = new ArrayList(viewManagers);
   for (int i = 0; i < local.size(); i++) {
     ViewManager vm = (ViewManager) local.get(i);
     removeViewManager(vm);
     if (andDestroyThem) {
       vm.destroy();
     }
   }
 }