摘要: public class CustomToast{ Context mContext; Toast mToast; public CustomToast(Context paramContext) { this.mContext = paramContext; this.mToast = Toast.makeText(paramContext, "", 0); } public void cancel() { this.mToast.cancel(); } public void show(int paramInt1, int paramInt2) { ... 阅读全文
posted @ 2013-05-08 17:54 似水流云 阅读(272) 评论(0) 推荐(0) 编辑
摘要: public class CustomLog{ public static final String LOGTAG = "有信"; public static boolean SHOW_LOG = true; public static void d(String paramString) { if (!SHOW_LOG) return; Log.d("有信", paramString); } public static void d(String paramString1, String paramString2) { if (!SHOW_LOG) . 阅读全文
posted @ 2013-05-08 15:46 似水流云 阅读(222) 评论(0) 推荐(0) 编辑