package com.basic.security.activity.helper;
|
|
import android.support.v4.app.Fragment;
|
|
import com.basic.security.base.BaseFragment;
|
|
import org.androidannotations.annotations.EActivity;
|
|
import java.util.HashSet;
|
import java.util.Set;
|
|
@EActivity
|
public abstract class MaIdcard extends MaFace {
|
|
public Set<Fragment> fragmentHasIdCardPhone = new HashSet<>();
|
|
public void addIdCardPhoneComponent() {
|
// fragmentHasIdCardPhone.add(fragment_su_logged_ic_compare_success);
|
}
|
|
|
public void toggleIdCardPhoneComponent(BaseFragment showFragment) {
|
if (fragmentHasIdCardPhone.contains(showFragment)) {
|
// showOneFragment(fragment_su_auto_ic_wait_phone);
|
} else {
|
hideOneFragment(fragment_su_auto_ic_wait_phone);
|
}
|
}
|
|
|
}
|