Exemplo n.º 1
0
 public void setSwitchChildDialogueData() {
   appController = (AppController) getApplicationContext();
   parentModel = appController.getParentsData();
   if (parentModel != null && parentModel.getNumberOfChildren() >= 0) {
     selectedChildPosition = appController.getSelectedChild();
   }
 }
Exemplo n.º 2
0
 public void onSwitchChild(int selectedChildPosition) {
   this.selectedChildPosition = selectedChildPosition;
   appController.setSelectedChild(selectedChildPosition);
   dialog.dismiss();
 }