2016年5月18日
摘要:
将原有项目图片加载框架picasso改为glide,关于picasso和glide文档就自行查阅相关资料 显示 图片 例子 Glide.with(mContext).load(imageUrl).placeholder(defaultDrawable) .error(defaultDrawable)
阅读全文
posted @ 2016-05-18 13:31
freexiaoyu
阅读(4545)
推荐(0)
2016年5月3日
摘要:
在开发DEMO之前首先要确定 你开发OSS服务并获取了 accessKeyId和accessKeySecret final String key = MD5.Md5(DateFormat.format("yyyyMMdd_hhmmss",Calendar.getInstance(Locale.CHI
阅读全文
posted @ 2016-05-03 16:43
freexiaoyu
阅读(1921)
推荐(0)
2016年4月29日
摘要:
public class MainActivity extends Activity { private ListView mListView; //private ImageListAdapter adapter; private ImageListPicassoAdapter adapter;
阅读全文
posted @ 2016-04-29 11:27
freexiaoyu
阅读(423)
推荐(0)
2016年2月2日
摘要:
android 端代码 1 package com.example.uploadfile; 2 3 import java.io.DataOutputStream; 4 import java.io.File; 5 import java.io.FileInputStream; 6 import j
阅读全文
posted @ 2016-02-02 15:52
freexiaoyu
阅读(1730)
推荐(0)
2015年12月25日
摘要:
Volley.jar下载在Application初始化 Volleyqueues=Volley.newRequestQueue(appContext);并返回RequestQueue 对象 public static RequestQueue getHttpQueues(){ return que...
阅读全文
posted @ 2015-12-25 11:32
freexiaoyu
阅读(415)
推荐(0)
2015年12月24日
摘要:
引用appcompat 类库提示error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.引用地址adt-...
阅读全文
posted @ 2015-12-24 14:27
freexiaoyu
阅读(335)
推荐(0)
摘要:
前几天另一个项目使用RecyclerView控件,引用类库然后继承一切都很顺序详细:http://www.cnblogs.com/freexiaoyu/p/5022602.html今天打算将另一个项目的ListView控件也替换成RecyclerView以同样的方式引用了RecyclerView,引...
阅读全文
posted @ 2015-12-24 00:39
freexiaoyu
阅读(1868)
推荐(0)
2015年12月16日
摘要:
LinearLayoutManager layoutManager;layoutManager = new LinearLayoutManager(getActivity()); layoutManager.setOrientation(LinearLayoutManager.VERTICAL)...
阅读全文
posted @ 2015-12-16 15:40
freexiaoyu
阅读(1381)
推荐(0)
2015年12月15日
摘要:
import java.util.LinkedList;import java.util.List;import android.content.Context;import android.support.v7.widget.RecyclerView;import android.view.Lay...
阅读全文
posted @ 2015-12-15 15:13
freexiaoyu
阅读(2587)
推荐(0)
摘要:
1 import java.util.LinkedList; 2 import java.util.List; 3 4 import android.content.Context; 5 import android.view.LayoutInflater; 6 import and...
阅读全文
posted @ 2015-12-15 10:45
freexiaoyu
阅读(456)
推荐(0)