package com.basic.security.fragment; import android.text.TextUtils; import android.widget.EditText; import android.widget.TextView; import com.basic.security.R; import com.basic.security.base.BaseFragment; import org.androidannotations.annotations.EFragment; import org.androidannotations.annotations.ViewById; @EFragment(R.layout.fragment_su_auto_ic_wait_phone) public class SuAutoIcWaitPhoneFragment extends BaseFragment { @ViewById public EditText phone; @ViewById public TextView name, idcard_number; public boolean detailMessageIsComplete() { if (!TextUtils.isEmpty(phone.getText().toString().trim())) { return true; } else { return false; } } }