- 博客(27)
- 收藏
- 关注
原创 recyclerview上下拉加载更多
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support.constraint:constraint-
2017-12-28 08:52:31 411
原创 倒计时跳转
package com.example.hp.myapplication.activity;import android.content.Intent;import android.os.Bundle;import android.os.Handler;import android.os.Message;import android.support.v7.app.App
2017-12-27 09:52:00 246
原创 dneglu
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', mod
2017-12-21 13:23:40 2391
原创 shiping
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', mod
2017-12-21 13:14:27 13347
原创 加入购物车代码
dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', mod
2017-12-21 11:29:28 2460
原创 Recyclerview多条目加载
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', mod
2017-12-21 09:29:31 2792 1
原创 简单的节操视屏播放
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', mod
2017-12-13 14:03:48 414
原创 购物车代码
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', mod
2017-12-11 19:56:14 680
原创 mvp基类
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support',
2017-12-11 08:13:47 305
原创 淘宝分类
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', mod
2017-12-11 08:08:17 279
原创 buttomtabbar
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://schemas.and
2017-12-11 08:02:50 394
原创 MVP+RXJAVA+Retrofit+Fresco实现简单的效果
package com.example.rxjavakuangjia1.utils;/** * Created by HP on 2017/12/5. */public class BaseUrl { public static String url="http://api.tianapi.com/";}首先先写下接口类package com.example.rxjavaku
2017-12-05 13:58:49 444
原创 Retrofit3
apply plugin: 'com.android.application'apply plugin: 'org.greenrobot.greendao'android { compileSdkVersion 26 buildToolsVersion "26.0.2" defaultConfig { applicationId "com.examp
2017-12-03 19:45:19 1421
原创 复杂的MVP+refit+greendao
apply plugin: 'com.android.application'apply plugin: 'org.greenrobot.greendao' // apply pluginandroid { compileSdkVersion 26 buildToolsVersion "26.0.2" defaultConfig { applicat
2017-12-01 19:04:53 439
原创 反射,注解,泛型
package com.example.muhanxi.frescodemo;/** * Created by muhanxi on 17/11/28. */public class User { public String name; private String age; public User(){}
2017-11-29 07:54:45 198
原创 简单的Fresco加载图片
package com.example.frescolistview;import android.os.AsyncTask;import android.os.Bundle;import android.os.Handler;import android.support.v7.app.AppCompatActivity;import android.widget.ListView;
2017-11-28 09:23:44 242
原创 Resuit
apply plugin: 'com.android.application'android { compileSdkVersion 26 buildToolsVersion "26.0.1" defaultConfig { applicationId "com.example.dhilongcin" minSdkVersion 15
2017-11-23 12:55:40 890
原创 recycler视频播放
// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { repositories { mavenCentral() } dependencies { classpath
2017-11-23 11:12:08 936
原创 断点续传
RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_pa
2017-11-22 19:36:10 580
原创 retrofit2
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_pare
2017-11-20 07:56:26 408
原创 视频
package view;import java.util.List;import bean.MyBean;/** * 类的用途: * 实现思路: * 时间:2017/11/18 * 作者:董金金 */public interface MyView { void getIn(List data);}/////////////
2017-11-20 07:48:32 472
原创 博客
distributionUrl=http\://services.gradle.org/distributions/gradle-3.3-all.ziphttp://blog.csdn.net/slxnrzyl/article/details/78451882 MVP博客http://blog.csdn.net/slxnrzyl/article/details/78452015
2017-11-07 16:22:05 449
原创 fresco
package com.example.fresco;import android.content.Intent;import android.graphics.drawable.Animatable;import android.net.Uri;import android.os.Bundle;import android.support.v7.app.AppCompatActivi
2017-11-06 07:42:50 444
原创 Rxjava2
package com.example.rxjava.bean;import java.util.ArrayList;import java.util.List;/** * Created by hp on 2017/11/3. */public class Student { private String name; List list = new ArrayL
2017-11-05 20:40:27 344
原创 RxJava
package com.trotri.android.rxjavasample;public class BookData { private int errNo; private String errMsg; private DataBean data; public int getErrNo() { return errNo; }
2017-11-05 20:35:17 363
原创 Retrofit简单了解
package com.example.lianxi;/** * Created by HP on 2017/11/4. */public class Contanst { public static final String BASE_URL= "http://v.juhe.cn/";}=====================================
2017-11-05 20:28:32 363
原创 MVP
public class MyModel { public void getData(String url , final MyModelInfo modelInfo){ OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder()
2017-11-05 20:15:59 374
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人