06 2013 档案

摘要:使用EventBushttp://wuyexiong.github.io/blog/2013/04/30/android-fragment/http://yunfeng.sinaapp.com/?p=449使用方式: http://stackoverflow.com/questions/14856296/null-pointer-exception-with-fragments-and-eventbus http://awalkingcity.com/blog/2013/02/26/productive-android-eventbus/ 对比资料:http://stackoverflo... 阅读全文
posted @ 2013-06-24 15:15 Binary-Stream 阅读(513) 评论(0) 推荐(0)
摘要:目标:如题解决方法: mEditTextTelNum.setOnKeyListener(new OnKeyListener() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_DEL) { String content = mEditTextTelNum.getText().toString(); ... 阅读全文
posted @ 2013-06-15 14:15 Binary-Stream 阅读(7779) 评论(0) 推荐(1)
摘要:BUG描述源地址:http://stackoverflow.com/questions/12102777/prevent-android-activity-dialog-from-closing-on-outside-touchBUG现象: (1) UI界面弹出一个Dialog Activity; (2) 点击该Dialog Activity外的Button(该Button属于调用该Dialog Activity的Activity); (3) Button事件依然响应;需求: 当弹出Dialog后,该Dialog之外的所有组件不响应。解决方式: 在Dialog Activity中,添... 阅读全文
posted @ 2013-06-14 16:33 Binary-Stream 阅读(1484) 评论(0) 推荐(0)
摘要:http://stackoverflow.com/questions/14195207/put-constant-text-inside-edittext-which-should-be-non-editable-android 阅读全文
posted @ 2013-06-08 18:53 Binary-Stream 阅读(348) 评论(0) 推荐(0)