自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 冒泡排序 及测试

public static void bubbleSort(int[] numbers) { int temp = 0; int size = numbers.length; for(int i = 0 ; i < size-1; i ++) { for(int j = 0 ;j < siz...

2018-12-11 14:40:45 1848 1

原创 强转网络接口

// 可以把HTTPS切换成HTTP public static String https2Http(String url) { return url.replace("https", "http"); }//强转代码新创的Util.方法名(icon)强转 

2018-10-25 21:30:11 158

原创 日志拦截器

//拦截器 class MyIntercepter implements Interceptor { //intercept 拦截 @Override public Response intercept(Chain chain) throws IOException { Request request = chain...

2018-09-25 08:17:53 389

原创 简易购物车

//main布局<LinearLayout 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" and...

2018-09-24 22:53:28 337

原创 购物车

//adapterpublic class ShopCartAdapter extends RecyclerView.Adapter<ShopCartHolder> { List<ShopBean.DataBean.ListBean> list; Context context; public ShopCartAdapter(List<...

2018-09-21 12:28:14 154

原创 MVP.商品展示

//Mpublic interface IBaseModel {}//Ppublic interface IBasePresent<V extends IBaseView> {    void  attch(V v);    void deAttch();}//Vpublic interface IBaseView {}/** *  MVP 的...

2018-09-21 12:18:27 198

原创 APP

//网络请求图片package com.example.asus.application.app;import android.app.Application;import com.bwei.imageloaderlibrary.utils.ImageLoaderUtils;import com.nostra13.universalimageloader.core.ImageLoa...

2018-08-24 15:31:34 144

原创 Viewpager加多条目Listview适配器

//viewpager适配器import android.support.annotation.NonNull;import android.support.v4.view.PagerAdapter;import android.view.View;import android.view.ViewGroup;import android.widget.ImageView;impo...

2018-08-24 15:30:50 198

原创 viewpager加webview

//viewpager加webview import android.os.Handler;import android.os.Message;import android.support.v4.view.ViewPager;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import...

2018-08-24 15:28:38 482

原创 Gson解析 加多条目展示 加上拉刷新 下拉加载

//Gson解析 加多条目展示 加上拉刷新 下拉加载import android.content.Intent;import android.os.Handler;import android.os.Message;import android.os.Bundle;import android.view.View;import android.widget.AdapterView;...

2018-08-24 15:17:47 146

原创 min的josn

tbody tr:nth-child(even){ background-color: paleturquoise; } tbody tr:nth-child(odd){ background-color: lightcyan; } var app=angular.module("myApp",[]); app.controller("myCtrl",f

2018-01-19 09:06:02 194

原创 josn

var app=angular.module("myApp",[]); app.controller("myCtrl",function($scope,$http){ $scope.kong=false; $http.get("http://result.eolinker.com/TucCTQueffdc1d1aaa3be05d8c62e9bb5d3e8b495f97cca?uri

2018-01-19 09:04:21 473

空空如也

空空如也

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

TA关注的人

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