自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 头像上传

导入依赖: implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0' implementation 'com.squareup.retrofit2:converter-gson:2.4.0' implementation 'io.reactivex.rxjava2:rxandroid:2.1.0' <uses-p...

2019-05-05 20:33:53 82

转载 OkHttp网络请求,MVP框架,xRecyClerView,多条目加载

utils:OkhttpUtils:工具类package com.example.niyafei.niyafei0529.utils; import android.os.Handler; import java.io.IOException; import java.util.Map; import okhttp3.Call; import okhttp3.Callback; impor...

2018-05-31 20:06:08 198

原创 angularjs增删改查

ng-app="App">  charset="UTF-8">     .css1{ background-color: red; }   .css2{ background-color: brown; }     ng-controller="Demo">   type="text" placeholder="请输入查询商品" ng-model="search" /> 数量排序: ng-mode

2018-01-19 13:22:22 153

原创 angularjs网络获取数据

var app = angular.module("myApp",[]);   app.controller("myCtrl",function($scope,$http){    $http({     method:"GET",     url:"package.json"    }).success(function(data){     $scope.datas = data;      

2018-01-18 13:36:59 387

原创 angularjs增删改查

var app = angular.module("myApp",[]);   app.controller("myCtrl",function($scope){    $scope.student=[{     id:1,     name:"张三",     age:21,     sex:"男",     tel:186111111,     hobby:"只爱学习",    },{    

2018-01-18 13:35:59 166

原创 jquery判断

charset="UTF-8">       .hong{   color: #FF0000;   }   .lv{   color: #33FF00;   }   .biao{   background-color: #AAAC90;   }   .

2018-01-08 08:23:37 378

原创 jquery增加,删除

charset="UTF-8">       *{   padding: 0px;   margin: 0px;   /*box-sizing: border-box;*/   }   .box{   width: 800px;   height: 500px;  

2018-01-08 08:21:58 168

原创 购物车6 增删查

.red{   border: 1px solid red;   }   .pink{   border: ;   }           charset="UTF-8">     type="text/javascript" src="../ang

2017-12-21 11:57:55 182

原创 增删查

tbody tr:nth-child(even)    {              background: #00000;             }             tbody tr:nth-child(odd)             {              background: greenyellow;             }        

2017-12-21 11:35:14 217

原创 购物车5 增删查

var app = angular.module("myApp", []);    app.controller("myCtrl", function($scope) {     $scope.shops = [{      id: 10011120,      name: "iPhone X",      num: 90     }, {      id: 10011121,  

2017-12-20 19:35:34 194

原创 购物车4 增删改插

charset="UTF-8">       /**{   margin: auto;   padding: 0;   }*/   body{   text-align: center;   margin: 50px auto;   }   /*table

2017-12-20 19:33:56 186

原创 购物车3

charset="UTF-8">     type="text/javascript" src="../../js/angular/angular.js">     var app = angular.module("myApp", []);   app.controller("myCtrl", function($scope

2017-12-19 18:53:44 132

原创 购物车2

charset="UTF-8">       /**{   margin: auto;   padding: 0;   }*/   body{   text-align: center;   margin: 50px auto;   }   /*table

2017-12-19 09:10:52 149

原创 购物车1

charset="UTF-8">     type="text/javascript" src="js/angular.js" >     var app = angular.module("myApp",[]);   app.controller("myCtrl",function($scope){   $sco

2017-12-19 09:06:43 333

原创 增删改插

xmlns="http://www.w3.org/1999/xhtml">     http-equiv="Content-Type" content="text/html; charset=utf-8" />   第二周模拟考试   src="../../../代码/4.jQuery/jQuery-2.1.0/jquery-2.1.0

2017-12-11 09:22:29 214

原创 个人信息表:(增删查)

var app = angular.module("myApp",[]);    app.controller("myCtrl",function($scope){     $scope.paixu="-age";     $scope.student = [{name:"张三",age:45,pinyin:"zhangsan",work:"总经理"},                  

2017-11-23 09:35:26 362

原创 购物车:增删改插,隔行换色

*{             margin: auto;             padding: 0;         }         body{             text-align: center;             margin: 50px auto;         }         table         {             marg

2017-11-22 19:06:09 262

原创 购物车(增删改插)

var app = angular.module("myApp",[]);    app.controller("myCtrl",function($scope){     $scope.products = [{      "id": 80,      "name": "iPhone",      "price": 5400,      state: false     },{

2017-11-19 18:41:36 320

原创 PullToRefreshListView刷新

xml: com.handmark.pulltorefresh.library.PullToRefreshListView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/pull"> com.handmark.pulltorefresh

2017-10-26 10:12:52 186

原创 TabLayout滑动

XML: android.support.design.widget.TabLayout android:id="@+id/mytab" android:layout_width="match_parent" android:layout_height="wrap_content"> android.support.design.widget.TabLayout> a

2017-10-26 09:06:02 251

原创 fragment+viewpager+侧拉

xml: android.support.v4.widget.DrawerLayout android:id="@+id/mydrawer" android:layout_width="match_parent" android:layout_height="match_parent"> FrameLayout android:layout_w

2017-10-25 15:02:24 181

原创 网络判断

先创建一个类 public class Uitls {     /**      * 返回值 -1:没有网络  1:WIFI网络   3:net网络      */     public static int getNetype(Context context) {         int netType = -1;         ConnectivityManager con

2017-10-25 13:32:08 166

原创 侧拉

android:id="@+id/drawerLayout"     xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     xmlns:tools="http://schemas.android.com/too

2017-09-21 19:30:13 191

原创 PullToRefresh

//控件 com.handmark.pulltorefresh.library.PullToRefreshListView android:id="@+id/pull_refresh_list" android:layout_width="fill_parent" android:layout_height="fill_parent" android:cacheC

2017-09-21 19:19:28 165

原创 xlistview加点

vp.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {             @Override             public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {

2017-09-21 10:04:37 119

原创 自动无限轮播

package com.bawei.user.dongmancheng; import android.os.Handler; import android.os.Message; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import androi

2017-09-21 10:02:06 160

原创 Xlistview

package com.bawei.user.my_xlistciew; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup;

2017-09-18 08:21:26 384

空空如也

空空如也

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

TA关注的人

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