![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
其他
文章平均质量分 84
qq_4027
你们都看不到我...
展开
-
RecyclerView 瀑布流显示图片
需要导入依赖 image-loader butterknife butterknife-compile recyclerView 加一个网络请求权限 layout_item.xml xml version="1.0" encoding="utf-8"?> LinearLayout xmlns:android="http://schemas.android.co原创 2017-11-08 14:38:02 · 283 阅读 · 0 评论 -
上传头像(拍照或者本地上传)
activity_main.xml LinearLayout 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 · 410 阅读 · 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 · 619 阅读 · 0 评论 -
一个简单的极光推送
https://www.2cto.com/kf/201701/590009.html转载 2017-11-15 20:35:11 · 240 阅读 · 0 评论 -
Listview + 下拉图片放大,手指放开图片缩回
转载自: http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/0627/1625.html activity_main.xml xml version="1.0" encoding="utf-8"?> RelativeLayout xmlns:android="http://schemas.android.co转载 2017-11-21 09:05:54 · 251 阅读 · 0 评论 -
简单使用EventBus
compile 'org.greenrobot:eventbus:3.1.1' MessageEvent package app.my.com.eventbus; /** * Created by lenovo on 2017/11/29. */ public class MessageEvent { public boolean tag; p原创 2017-11-29 19:18:26 · 179 阅读 · 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 · 349 阅读 · 0 评论 -
RecyclerView 瀑布流显示图片
activity_main.xml xml 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 · 276 阅读 · 0 评论 -
RecyclerView LinearLayout 显示图片
activity_main.xml xml 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 · 337 阅读 · 0 评论 -
日夜间模式
dimens 16dp 16dp colors #3F51B5 #3b3b3b #303F9F #383838 #FF4081 #a72b55 #FF000000 #FFFFFF #FFFFFF #3b3b3b at转载 2018-01-29 10:31:35 · 199 阅读 · 0 评论