
其他
文章平均质量分 84
qq_4027
你们都看不到我...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
RecyclerView 瀑布流显示图片
需要导入依赖image-loaderbutterknifebutterknife-compilerecyclerView加一个网络请求权限layout_item.xmlxml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.co原创 2017-11-08 14:38:02 · 328 阅读 · 0 评论 -
上传头像(拍照或者本地上传)
activity_main.xmlLinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layo转载 2017-12-20 14:31:22 · 456 阅读 · 0 评论 -
GreenDao + 请求网络数据添加到数据库 + 新增+删除 +查询
buildscript { repositories { google() jcenter() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' classpath 'org.gr原创 2017-12-01 15:06:38 · 669 阅读 · 0 评论 -
一个简单的极光推送
https://www.2cto.com/kf/201701/590009.html转载 2017-11-15 20:35:11 · 285 阅读 · 0 评论 -
Listview + 下拉图片放大,手指放开图片缩回
转载自:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/0627/1625.htmlactivity_main.xmlxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.co转载 2017-11-21 09:05:54 · 303 阅读 · 0 评论 -
简单使用EventBus
compile 'org.greenrobot:eventbus:3.1.1'MessageEventpackage app.my.com.eventbus;/** * Created by lenovo on 2017/11/29. */public class MessageEvent { public boolean tag; p原创 2017-11-29 19:18:26 · 214 阅读 · 0 评论 -
强转字符串类型+截取字符串
//将double类型,强转成String类型 double price = list.get(i).getPrice(); String b=String.valueOf(price); holder.te2.setText(b); Stri原创 2017-11-07 20:18:59 · 395 阅读 · 0 评论 -
RecyclerView 瀑布流显示图片
activity_main.xmlxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+i原创 2017-11-09 20:49:18 · 317 阅读 · 0 评论 -
RecyclerView LinearLayout 显示图片
activity_main.xmlxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@原创 2017-11-09 20:46:35 · 380 阅读 · 0 评论 -
日夜间模式
dimens 16dp 16dpcolors #3F51B5 #3b3b3b #303F9F #383838 #FF4081 #a72b55 #FF000000 #FFFFFF #FFFFFF #3b3b3bat转载 2018-01-29 10:31:35 · 264 阅读 · 0 评论