2019年12月5日

摘要: ///////////////////////////////////////代码 package com.example.administrator.myapplication;import android.support.v7.app.AppCompatActivity;import andro 阅读全文
posted @ 2019-12-05 14:48 带镐伤的土豆 阅读(200) 评论(0) 推荐(0) 编辑

2019年12月3日

摘要: /*计数器*/mEtExplain.addTextChangedListener(new TextWatcher() { public int myselectionStart; public int myselectionEnd; @Override public void beforeTextC 阅读全文
posted @ 2019-12-03 13:15 带镐伤的土豆 阅读(102) 评论(0) 推荐(0) 编辑

2019年11月30日

摘要: //图片public class PhotoViewPager extends ViewPager { public PhotoViewPager(@NonNull Context context) { this(context, null); } public PhotoViewPager(@No 阅读全文
posted @ 2019-11-30 15:06 带镐伤的土豆 阅读(131) 评论(0) 推荐(0) 编辑

2019年11月28日

摘要: public class MainActivity extends Activity implements OnClickListener { private Button submitButton; private Button confirmButton; private TextView te 阅读全文
posted @ 2019-11-28 10:32 带镐伤的土豆 阅读(246) 评论(0) 推荐(0) 编辑

2019年11月26日

摘要: <ListView android:id="@+id/listView1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerHorizontal="true" 阅读全文
posted @ 2019-11-26 10:54 带镐伤的土豆 阅读(167) 评论(0) 推荐(0) 编辑

2019年11月23日

摘要: public void startCamera(View view){ Intent intent=new Intent(MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(intent, 1); }//用于页面显示 @Overridep 阅读全文
posted @ 2019-11-23 09:30 带镐伤的土豆 阅读(194) 评论(0) 推荐(0) 编辑

2019年11月20日

摘要: // 创建ViewHoler public class ViewHolder{ private final SparseArray<View> mViews; private int mPosition; private View mConvertView; private ViewHolder(C 阅读全文
posted @ 2019-11-20 11:33 带镐伤的土豆 阅读(117) 评论(0) 推荐(0) 编辑

2019年10月18日

摘要: List<String> lists = new ArrayList<>();StringBuffer sb = new StringBuffer();try { List<MdChestCardBean> changeSelectorBeanList = new Gson().fromJson(r 阅读全文
posted @ 2019-10-18 14:33 带镐伤的土豆 阅读(636) 评论(0) 推荐(0) 编辑

2019年9月26日

摘要: public class InputMethodUtil { private InputMethodUtil() { throw new UnsupportedOperationException("Cannot be instantiated"); } public static void cha 阅读全文
posted @ 2019-09-26 19:02 带镐伤的土豆 阅读(169) 评论(0) 推荐(0) 编辑

2019年9月24日

摘要: String time = "2018-08-04 02:30:00";SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar calendar = Calendar.getInstance();try 阅读全文
posted @ 2019-09-24 13:26 带镐伤的土豆 阅读(1291) 评论(0) 推荐(0) 编辑

导航