- 博客(6)
- 收藏
- 关注
原创 FlyBanner轮播
1.首先添加依赖 compile 'com.recker.flybanner:flybanner:1.3' 2.xml布局 <com.recker.flybanner.FlyBanner android:id="@+id/banner_1" android:layout_width="match_parent" android:layout_height="200...
2018-09-28 20:01:08 119
原创 多条目
1.这是多条目的适配器 package adapter; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import and...
2018-09-20 11:57:10 82
原创 高德地图开发加定位
1.首先第一步先加入依赖 //3D地图so及jar implementation 'com.amap.api:3dmap:latest.integration' //定位功能 implementation 'com.amap.api:location:latest.integration' //搜索功能 implementation 'com.amap.api:search:latest.in...
2018-09-20 11:55:02 563
原创 流式布局
1.这个布局是流式布局 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height...
2018-09-20 11:46:47 94
原创 OKHttp网络封装
package bwie.com.zhangjiangxia20180917.utils; import okhttp3.Callback; import okhttp3.OkHttpClient; import okhttp3.Request; public class OkHttpUtil { private static OkHttpUtil okHttpUtil; ...
2018-09-18 16:17:56 112
原创 注册登录(MVP)
首先第一步导入OKhttp的依赖 implementation 'com.squareup.okhttp3:okhttp:3.6.0' implementation 'com.squareup.okio:okio:1.11.0' 然后创建mvp框架 1.view层 package com.example.lianxi5.mvp; public interface Iview { ...
2018-09-09 20:51:18 227
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人