示例#1
0
 public void skipPairDevice() {
   if (mFragment instanceof DFAddNewGroup) {
     ((DFAddNewGroup) mFragment).skipPairDevice();
   } else if (mFragment instanceof DFAddGroupMember) {
     ((DFAddGroupMember) mFragment).skipPairDevice();
   }
 }
示例#2
0
 public void finishEditDevice() {
   if (mFragment instanceof DFAddNewGroup) {
     ((DFAddNewGroup) mFragment).addnewFinish();
   } else if (mFragment instanceof DFAddGroupMember) {
     ((DFAddGroupMember) mFragment).addnewFinish();
   } else {
     dismiss();
   }
 }