zhangzengfei
2020-03-31 0ce893695d32ab686f9e2309509e80c6feb0d380
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);
        }
    }
 
 
}