public void skipPairDevice() { if (mFragment instanceof DFAddNewGroup) { ((DFAddNewGroup) mFragment).skipPairDevice(); } else if (mFragment instanceof DFAddGroupMember) { ((DFAddGroupMember) mFragment).skipPairDevice(); } }
public void finishEditDevice() { if (mFragment instanceof DFAddNewGroup) { ((DFAddNewGroup) mFragment).addnewFinish(); } else if (mFragment instanceof DFAddGroupMember) { ((DFAddGroupMember) mFragment).addnewFinish(); } else { dismiss(); } }