摘要: 摘录于习惯沉默的Blog https://ydmmocoo.github.io/2016/06/28/Android-Studio%E6%8F%92%E4%BB%B6%E6%95%B4%E7%90%86/1.GsonFormat快速将json字符串转换成一个Java Bean,免去我们根据json字符串手写对应Java Bean的过程。使用方法:快捷键Alt+S也可以使用Alt+Insert选择G... 阅读全文
posted @ 2016-07-11 17:19 liupengcheng 阅读(240) 评论(0) 推荐(0) 编辑
摘要: final EditText et = (EditText) findViewById(R.id.et); et.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence charSequence, int i, int i1, i... 阅读全文
posted @ 2016-07-11 13:54 liupengcheng 阅读(407) 评论(0) 推荐(0) 编辑