- 博客(8)
- 收藏
- 关注
转载 activity跳转
<?xmlversion="1.0"encoding="utf-8"?> <setxmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/decelerate_interpolator"> &...
2018-02-01 11:29:00
162
转载 JSON与List之间的转换
jsonString转换为list: JSONArray jsonArray=JSONArray.fromObject(result); List<RentCar> books=(List)JSONArray.toList(jsonArray, Class); list转换为jsonString Gson gson=new Gson(); bookString...
2018-01-26 18:21:00
147
转载 子线程更新UI
https://www.cnblogs.com/joy99/p/6121280.html 转载于:https://www.cnblogs.com/itjunjun/p/8067352.html
2017-12-19 19:34:00
102
转载 数据库查询关键字显示所有结果
SELECT * FROM book where locate('人',bookname)>0 转载于:https://www.cnblogs.com/itjunjun/p/7859734.html
2017-11-19 14:43:00
514
转载 Java数据类型转换1
1 如何将字串 String 转换成整数 int? A. 有两个方法: 1). int i = Integer.parseInt([String]); 或 i = Integer.parseInt([String],[int radix]); 2). int i = Integer.valueOf(my_str).intValue(); 注: 字串转成 Double, Floa...
2017-11-17 22:36:00
122
转载 MySql的基本操作
查询数据:select * from xxx; 例子: (1)select id,username,password from t_user; (2)select id,username,password,gender from t_user where gender = '男'; (3)select id,username,password,gender from ...
2017-11-17 22:35:00
87
转载 Android引导页
源码地址:https://github.com/myloften/IntroSliderSample 博客地址:http://blog.youkuaiyun.com/loften_93663469/article/details/51471831 转载的,侵删。 转载于:https://www.cnblogs.com/itjunjun/p/7724630.html...
2017-10-24 17:13:00
90
转载 Android传递中文参数方法(之一)
最近在做app,用的volley传参,有一个地方传中文参数不行(貌似是get方式),我又试了下post方式,成功了,记录下,以后有用! RequestQueue requestQueue = Volley.newRequestQueue(getApplicationContext());StringRequest stringrequest=new StringReq...
2017-10-06 22:22:00
157
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅