摘要: 记得加上权限 阅读全文
posted @ 2017-11-16 19:55 于大大 阅读(7942) 评论(0) 推荐(0) 编辑
摘要: ObjectAnimator anim3 = ObjectAnimator.ofFloat(mBlueBall, "translationY", -500f, 0f);ObjectAnimator anim4 = ObjectAnimator.ofFloat(mBlueBall, "translat 阅读全文
posted @ 2017-11-09 16:38 于大大 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 学习到android的后面,我们就会学习到连接接口,解析json。在很多的语言方面会解析json非常重要,在android中有原生的api进行解析,也可以使用第三方库进行解析。 如果我们使用原生的api进行解析的话,就需要进行一层一层的进行解析。 直接上代码 //。。。。。 package com. 阅读全文
posted @ 2017-10-25 20:50 于大大 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 首先是XRecyclerView的布局文件 <com.jcodecraeer.xrecyclerview.XRecyclerView android:id="@+id/xrv" android:layout_width="match_parent" android:layout_height="ma 阅读全文
posted @ 2017-09-21 21:28 于大大 阅读(601) 评论(0) 推荐(0) 编辑
摘要: import android.content.ContentValues;import android.content.Intent;import android.database.Cursor;import android.graphics.Color;import android.os.Bund 阅读全文
posted @ 2017-09-21 20:59 于大大 阅读(242) 评论(0) 推荐(0) 编辑
摘要: import android.os.Bundle;import android.support.annotation.Nullable;import android.support.v4.app.Fragment;import android.support.v7.widget.StaggeredG 阅读全文
posted @ 2017-09-21 20:52 于大大 阅读(429) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends AppCompatActivity { private ListView lv; private RequestQueue requestQueue; private MyAdapter ad; @Override protecte 阅读全文
posted @ 2017-09-17 20:30 于大大 阅读(409) 评论(0) 推荐(0) 编辑
摘要: public class PicturePagerAdapter extends PagerAdapter { private static final String tag = "PicturePagerAdapter"; List<ImageView> list; public PictureP 阅读全文
posted @ 2017-09-10 21:08 于大大 阅读(347) 评论(0) 推荐(0) 编辑