自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 实现京东购物车

//首先你需要分包明确//先创建一个adapter的包//在adapter的包中创建一个类//好了不绕圈子啦给你们把代码放上来吧import android.content.Context;import android.view.View;import android.view.ViewGroup;import android.widget.BaseExpandableListAda

2017-12-21 10:55:32 425

转载 点击更换头像

转载自http://blog.csdn.net/alanjet/article/details/52494996xml中<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xm

2017-12-05 20:50:40 1363

原创 retrofit+ok+rxjava+fresco的demo

package cui.com.myapplication.presenter;import android.content.Context;import android.util.Log;import java.util.List;import cui.com.myapplication.Bean;import cui.com.myapplication.LoggingInter

2017-12-01 20:53:23 203

原创 greendao的demo

package com.example.greendaodemo.bean;import org.greenrobot.greendao.annotation.Entity;import org.greenrobot.greendao.annotation.Id;import org.greenrobot.greendao.annotation.Property;import org.g

2017-11-23 12:53:08 222

原创 23OKhttputils

package com.bwie.activity.utils;import android.content.Intent; import android.net.Uri; import android.os.Environment; import android.util.Log; import android.widget.Toast;import com.bwie.activity.a

2017-10-24 18:25:40 277

原创 okhttp简单封装+使用

package com.example.day10okhttp.okhttp;import android.os.Handler;import okhttp3.Call;import okhttp3.Callback;import okhttp3.OkHttpClient;import okhttp3.Request;/** * Created

2017-10-15 19:51:27 179

原创 okhttp简单demo

package cui.com.okhttp_demo;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.widget.ListView;import android.widget.TextView;import com.google.g

2017-10-15 19:35:36 880

原创 MVC和MVP的区别

MVC和MVP的区别   一、mvc模式     概念    m代表model层,模型层。我们针对业务模型,建立的数据结构和相关的类,就可以理解为AndroidApp的Model,Model是与View无关,而与业务相关的。对数据库的操作、对网络等的操作都应该在Model里面处理,当然对业务计算等操作也是必须放在的该层的。就是应用程序中二进制的数据。     v代表view层,

2017-10-08 08:36:41 269

原创 头部联动 小圆点 数据请求 网络判断 自动轮播

头部联动 小圆点 数据请求 网络判断 自动轮播import android.content.BroadcastReceiver;import android.content.Context;import android.content.DialogInterface;import android.content.Intent;import android.content

2017-10-08 08:15:44 199

原创 RecyclerView的理解

RecyclerView的理解在Android开发中,我们经常与ListView、GridView打交道,它们为数据提供了列表和视图的展示方式,方便用户的操作。然而,随着Android的不断发展,单一的listview逐渐满足不了需求多变的项目了,因此,谷歌在support v7中,加入了新的控件——RecyclerView,该控件整合了ListView、GridView的特点,而且最大的

2017-10-07 23:52:34 200

原创 android的几种数据存储方式

android的几种数据存储方式在android中我们学习过的数据存储大致分为5种1. SharedPreferences存储数据 SharedPreferences是Android平台上一个轻量级的存储类,主要是保存一些常用的配置比如窗口状态,一般在Activity中 重载窗口状态onSaveInstanceState保存一般使用SharedPreferences完成,它

2017-10-07 18:50:11 395

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除