- 博客(41)
- 收藏
- 关注
原创 流式布局+搜索框+数据库
implementation 'com.hjm:BottomTabBar:1.1.1' //okhttp implementation 'com.squareup.okhttp3:okhttp:3.5.0' //gson implementation 'com.google.code.gson:gson:2.6.2' //流式布局 implement...
2018-05-31 10:20:33 706
原创 retrofit+rxjava+mvp网络请求数据
//依赖 //Fresco第三方加载图片框架依赖 四个依赖 compile 'com.facebook.fresco:fresco:1.3.0' // 支持webp compile 'com.facebook.fresco:webpsupport:1.3.0' // gif加载使用 compile 'com.facebook.fresco:anima...
2018-05-20 19:45:46 257
原创 greendao实现增删改查,recyclerview展示数据
//greendao依赖 compile 'org.greenrobot:greendao:3.2.0' compile 'org.greenrobot:greendao-generator:3.2.2' compile 'com.squareup.retrofit2:retrofit:2.1.0' compile 'com.squareup.retrofit2:c...
2018-05-15 20:20:00 809
原创 第一周练习
//导包compile 'com.squareup.retrofit2:retrofit:2.0.2' compile 'com.squareup.retrofit2:converter-gson:2.0.2' compile 'com.facebook.fresco:fresco:1.9.0' compile 'com.android.support:recyclerv...
2018-05-14 08:15:07 501
原创 fresco+mvp+okhttp+recyclerview多条目
//导包compile 'com.android.support:recyclerview-v7:27.1.1' compile 'com.facebook.fresco:fresco:1.9.0' compile 'com.squareup.okhttp3:okhttp:3.9.0' compile 'com.google.code.gson:gson:2.8.2'//...
2018-05-11 08:25:34 249
转载 Android Fresco属性大全,中文说明
/** * FrescoDraweeView在xml中设置的属性说明: * android:id="@+id/my_image_view" 【属性说明】id * android:layout_width="20dp" 【属性说明】设置宽度,不支持wrap,如果要设置宽高比, 需要在Java代码中指定,setAspectRatio(1.33f); * andr...
2018-05-09 16:13:11 665
原创 动画演示
//activity_main<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_heig...
2018-05-03 19:56:36 212
原创 mvp+okhttp注册登录
//导包compile 'com.google.code.gson:gson:2.6.2' compile 'com.squareup.okhttp3:okhttp:3.3.0' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.android.support:recyclerview-v7:2...
2018-05-03 19:54:08 570
原创 MVP+OkHttp 购物车
//导包compile 'com.google.code.gson:gson:2.6.2' compile 'com.squareup.okhttp3:okhttp:3.3.0' compile 'com.github.bumptech.glide:glide:3.7.0'//activity_main<?xml version="1.0" encoding="utf...
2018-05-03 19:36:06 245
原创 Fenglei
//导包compile 'com.google.code.gson:gson:2.6.2' compile 'com.squareup.okhttp3:okhttp:3.3.0' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.android.support:recyclerview-v7:2...
2018-05-03 19:23:35 235
原创 MVP+OkHttp登录注册
https://blog.csdn.net/qq_40072332/article/details/78802860
2018-05-03 09:26:46 239
原创 mvp+okhttp注册登录
//清单<uses-permission android:name="android.permission.INTERNET" />//依赖implementation 'com.google.code.gson:gson:2.2.4'compile 'com.squareup.okhttp3:okhttp:3.9.1'//activity_main<?xml version...
2018-05-03 09:25:38 231
原创 aWSDFG
<!DOCTYPE html><html ng-app="app"> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript" src="js/
2018-04-07 15:03:32 208
原创 agljs
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title>混合开发</title> <script type="text/javascript" src="js/angular.min.js"
2018-04-07 13:18:29 320
原创 增删改查
<!DOCTYPE html><html ng-app="app"> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript" src="js/
2018-04-03 20:13:37 200
原创 yuekao混合开发最新
<!DOCTYPE html><html ng-app="app"> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript" src="js/
2018-04-02 15:15:28 177
原创 moniyuekao
<!DOCTYPE html><html ng-app="app"> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript" src="js/angul
2018-04-02 11:17:28 166
原创 hhkfzhoukao2
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <script src="js类库/jquery-1.11.0.min.js"> </script&a
2018-04-02 09:32:40 218
原创 hhkf月考
<!DOCTYPE html><html ng-app="App"> <head> <meta charset="UTF-8"> <title></title> <script type="application/javascript" src=&quo
2018-04-02 09:31:48 230
原创 lianxi
<!DOCTYPE html><html ng-app="App"> <head> <meta charset="utf-8" /> <title></title> <script src="http://cdn.static.runoob.com/libs/an
2018-03-06 14:46:37 293
原创 nan angular
<!DOCTYPE html><html ng-app="App"> <head> <meta charset="UTF-8"> <title></title> <style> .css1{ background-color: aquamarin
2018-03-06 09:31:19 284
原创 简单angular
<!DOCTYPE html><html ng-app="App"> <head> <meta charset="UTF-8"> <title></title> </head> <script type="application/jav
2018-03-06 09:27:20 194
原创 day01作业加jQer判断
首页 function check(){ var name = document.getElementById("name").value; var pass = document.getElementById("pass").value; if(name == ""){ alert("用户名不能为空"); return false;
2018-01-24 09:33:10 192
原创 修改后的Pull
Main方法public class Fragment1 extends Fragment{ private PullToRefreshListView pull_listview; private static final String JSON_URL = "http://api.expoon.com/AppNews/getNewsList/type/1/p/";
2018-01-17 16:50:54 201
原创 频道管理
外build依赖allprojects { repositories { jcenter() maven {url "https://jitpack.io"} google() }}里build依赖compile 'com.github.andyoom:draggrid:v1.0.1'Main方法public
2018-01-16 10:21:13 387
原创 FrameLayout+RadioGroup
Main方法public class Main2Activity extends AppCompatActivity { private List list; private Fragment1 fragment1; private Fragment2 fragment2; private Fragment3 fragment3; private Fra
2018-01-16 10:10:32 365
原创 DrawerLayout
XML文字和头像<RelativeLayout android:id="@+id/menu" android:layout_width="170dp" android:layout_height="match_parent" android:layout_gravity="start"> <ImageView
2018-01-16 10:07:47 153
原创 包and依赖
包and依赖PullToRefreshListView的控件<com.handmark.pulltorefresh.library.PullToRefreshListView android:layout_below="@id/banner02" android:layout_width="match_parent" android:layout
2018-01-16 10:01:12 154
原创 添加两个tablayout
Mian方法public class Fragement01 extends Fragment{ private TabLayout tablayout; private String[] url = {"推荐","新时代"}; private ViewPager view_pager; private List fragments; private
2018-01-16 09:46:56 443
原创 MyPull
Main方法public class Fragment01 extends Fragment{ private String dizhi; private PullToRefreshListView plv; private List plist; private List plists; private MyAdapter adapter;
2018-01-16 09:44:16 193
原创 PulltoRefrilist
Main方法public class MyFragment01 extends Fragment { String path = "http://www.93.gov.cn/93app/data.do?channelId=0&startNum="; //初始id为0 int page = 0; private PullToRefreshListView plv;
2018-01-16 09:37:12 182
原创 DI二周
Main方法package com.xiexinjian0108zk;import android.os.AsyncTask;import android.support.v4.widget.DrawerLayout;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import and
2018-01-08 10:05:15 336
原创 网络判断吐司版本
Main方法if (isNetworkVilible(this)){ Toast.makeText(MainActivity.this, "网络可用",Toast.LENGTH_SHORT).show(); }else { Toast.makeText(MainActivity.this, "网络不可用",Toast.LENGTH_
2018-01-07 20:49:30 250
原创 MyApp配置
MyApp方法package com.bwie.imageloaderdemo;import java.io.File;import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache;import com.nostra13.universalimageloader.cache.disc.namin
2018-01-07 20:45:19 1724
原创 网络判断
Main方法package com.example.zhoukaolx;import android.content.DialogInterface;import android.content.Intent;import android.os.AsyncTask;import android.os.Bundle;import android.support.annotat
2018-01-07 20:39:02 175
原创 Handler多少秒跳转引导页
Main方法package bwei.com.xingqi6zhoukaolx;import android.content.Intent;import android.os.Bundle;import android.os.Handler;import android.os.Message;import android.support.v7.app.AppCompatActivi
2018-01-07 20:30:03 357
原创 3秒换条数据
Main方法或者Fragment方法package com.example.lx122700;import android.annotation.SuppressLint;import android.os.AsyncTask;import android.os.Message;import android.support.v7.app.AppCompatActivity;impo
2018-01-07 20:27:38 257
原创 多条目加载图片
MyAdapter方法package MyAdapter; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageV
2018-01-07 20:25:17 211
原创 多条目模数135,246
MyAdapter方法package com.bawei.xingqi620180106.MyAdapter;import android.content.Context;import android.view.View;import android.view.ViewGroup;import android.widget.BaseAdapter;import android.widg
2018-01-07 20:22:29 294
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人