@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_common_modify_info); initView(); initListener(); listenETisempty(); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.chat_comment); dbUtils = DBUtilsHelper.getInstance().getDb(); Intent i = getIntent(); if (null != i) { subjectID = i.getExtras().getString("subjectId"); try { chatInfoBean = dbUtils.findFirst(Selector.from(ChatInfoBean.class).where("SubjectID", "=", subjectID)); if (null != chatInfoBean) { subjectType = chatInfoBean.getSubjectType(); } } catch (DbException e) { // TODO Auto-generated catch block e.printStackTrace(); } } initView(); initListener(); listenET(); }