自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 百度地图的集成

1.首先我们从官网进行获取key值,并且下载jar包和.so文件,导入到自己的工程2.布局文件:xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent

2018-01-16 19:08:11 524

原创 二级购物车+编辑+删除

布局文件(main)xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http

2017-12-21 10:50:37 770

原创 Viewpager+fragment

xml布局文件:xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http:/

2017-12-20 15:40:58 236

转载 属性动画

ValueAnimatorValueAnimator是整个属性动画机制当中最核心的一个类,前面我们已经提到了,属性动画的运行机制是通过不断地对值进行操作来实现的,而初始值和结束值之间的动画过渡就是由ValueAnimator这个类来负责计算的。它的内部使用一种时间循环的机制来计算值与值之间的动画过渡,我们只需要将初始值和结束值提供给ValueAnimator,并且告诉它动画所需运行

2017-12-20 14:28:30 179

原创 Retrofit+RxJava+Okhttp+RecycleView+MVP简单的展示数据

1.添加依赖    compile 'com.android.support:recyclerview-v7:23.0.1'    compile 'com.facebook.fresco:fresco:1.5.0'    compile 'org.greenrobot:eventbus:3.1.1'    compile 'org.greenrobot:greendao:3.2.

2017-12-10 20:05:35 745 1

原创 Banner的简单使用

1.添加依赖dependencies{ compile 'com.youth.banner:banner:1.4.10' //最新版本 compile 'com.github.bumptech.glide:glide:4.0.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'

2017-12-10 19:47:57 775

原创 拼接地址的字符串(post请求),展示数据

布局:Main布局    xmlns:app="http://schemas.android.com/apk/res-auto"    xmlns:tools="http://schemas.android.com/tools"    android:layout_width="match_parent"    android:layout_height="ma

2017-11-22 15:14:20 7127

原创 自定义拦截器(post)

public class MyInterceptor implements Interceptor {    @Override    public Response intercept(Chain chain) throws IOException {        //获取原始的请求数据        Request orginRequest = chain.request()

2017-11-22 14:29:08 1181

原创 二级购物车的展示(代码篇)

老规矩,还是MVP的知识M层public class MainModel implements IMainModel {    private Handler handler = new Handler(Looper.getMainLooper());    public void getGoods(final OnNetListener onNet

2017-11-22 13:45:05 247

原创 Android二级购物车MVP实现(布局篇)

这就是传说中的二级购物车,可能有点low,见谅。main布局:    xmlns:app="http://schemas.android.com/apk/res-auto"    xmlns:tools="http://schemas.android.com/tools"    android:layout_width="match_parent"    and

2017-11-22 13:33:22 379

原创 一级购物车的展示(代码篇)

注意,我们利用的是MVP,所以一定要分包分类,规范使用M层public class MainModel implements IMainModel {    private Handler handler = new Handler(Looper.getMainLooper());   public void getGoods(final OnNetListener

2017-11-22 13:18:00 400

原创 Android中利用MVP进行一级购物车的展示(布局篇)

我们这里用到的是自定义的布局,所以需要创建一个类,继承LinearLayout1.布局文件  main布局            xmlns:app="http://schemas.android.com/apk/res-auto"    xmlns:tools="http://schemas.android.com/tools"    androi

2017-11-22 11:21:20 533

原创 Android中登录注册(第三方)

1.首先我们创建布局,登录的布局    xmlns:app="http://schemas.android.com/apk/res-auto"    xmlns:tools="http://schemas.android.com/tools"    android:layout_width="match_parent"    android:layout_heigh

2017-11-12 19:59:04 708

原创 Angular js下拉菜单对月份的筛选

Title            table{            border-collapse: collapse;        }        td,th{            padding: 10px;            border: 1px solid #000;            text-align: center;     

2017-10-26 10:47:56 1148

原创 Angular js 对添加用户,修改密码,敏感字,下拉菜单的综合操作

html>html lang="en">head> meta charset="UTF-8"> title>Titletitle> style> table{ border-collapse: collapse; } th,td{ padding: 10px;

2017-10-24 15:22:58 498

原创 过滤敏感字,排序等综合题

html>html lang="en">head> meta charset="UTF-8"> title>Titletitle> style> table{ border-collapse: collapse; width: 50%; height: 40%;

2017-10-23 19:26:29 177

原创 angular js 利用filter进行排序

html>html lang="en">head> meta charset="UTF-8"> title>Titletitle> style> table{ border-collapse: collapse; } th,td{ padding: 10px;

2017-10-15 20:06:03 868

原创 TabLayout滑动和viewPager的联动+drawerLayout的侧拉

//布局    xmlns:tools="http://schemas.android.com/tools"    android:id="@+id/activity_show"    android:layout_width="match_parent"    android:layout_height="match_parent"    xmlns:app="htt

2017-09-21 09:51:01 218

原创 ViewPager获取网络上的图片

//首先我们来创建布局xml布局(上方是viewPager,下方是线性布局,加载小圆点)    xmlns:tools="http://schemas.android.com/tools"    android:id="@+id/activity_main"    android:layout_width="match_parent"    android:layo

2017-09-21 09:30:28 497

空空如也

空空如也

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

TA关注的人

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