摘要: 1 public class LoadDialog extends Dialog { 2 3 /** 4 * LoadDialog 5 */ 6 private static LoadDialog loadDialog; 7 /** 8 * canNotCancel, the dialog dimiss or... 阅读全文
posted @ 2015-03-18 14:02 种花小哥 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 1 public class ToastTools { 2 public static void showToast(Context context, String toastContent) { 3 Toast.makeText(context, toastContent, Toast.LENGTH_LONG).show(); 4 } 5 6 ... 阅读全文
posted @ 2015-03-18 11:54 种花小哥 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1 editText.addTextChangedListener(new TextWatcher(){ 2 3 public void afterTextChanged(Editable s) { 4 // TODO Auto-generated method stub 5 ... 阅读全文
posted @ 2015-03-18 11:45 种花小哥 阅读(1188) 评论(0) 推荐(0) 编辑