自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 测试 moke数据

1.设置charles代理2.代理抓到相关内容的接口3.选择conctents4.对着所需要moke的数据,双击5.选择save  response  (保存到本地)          如图所示    6.在本地找到保存的文件,打开后可以看到数据字段7.把字段值改成所需要模拟测试的值8.点击Tools的Map Local。 如图所示。       9.点击Charl...

2018-11-26 18:03:46 1593

原创 手机app测试总结

手机app测试总结 一.功能性测试:(1)根据产品需求文档编写测试用例(2)软件设计文档编写用例      根据软件需求说明书或者用户需求验证app的各个功能是否实现,采用如下方法实现并评估功能测试过程:采用时间、地点、对象、行为、和背景五元素或业务分析等方法、提炼app的用户使用场景,对比说明和需求,整理出内在,外在及非功能直接相关需求,构建测试点和用例,并明确测试标准,...

2018-10-08 10:59:34 2386

原创 timer计时跳转

final Intent it = new Intent(this, Main2Activity.class); //你要转向的Activity        Timer timer = new Timer();        TimerTask task = new TimerTask() {            @Override            public void

2018-04-07 11:52:39 235

原创 Retrofit做的从详情跳转到购物车 商品订单

在GitHub上下载即可https://github.com/xieshuaikang/MoNi3_20180303

2018-04-05 17:15:21 252

原创 上传头像 用okhttp

首先  ok的两个依赖: //okhttp compile 'com.squareup.okhttp3:okhttp:3.6.0' compile 'com.squareup.okio:okio:1.11.0'//加载图片compile 'com.github.bumptech.glide:glide:3.6.1'//工具类package ...

2018-03-22 10:07:04 432

原创 详情跳转到购物车

> 依赖 ```compile 'com.android.support:appcompat-v7:26.+'compile 'com.android.support.constraint:constraint-layout:1.0.2'compile 'io.reactivex.rxjava2:rxjava:2.0.7'compile 'io.reactivex.rxja

2018-03-06 12:08:39 554

原创 sharedprerence数据保存

package com.xdsjs.save.utils;   import android.content.Context; import android.content.SharedPreferences;   import java.lang.reflect.InvocationTargetException; import jav...

2018-03-01 15:42:04 300

原创 MVP+xRecyclerView+Retrofit+OkHttp++RxJava

Model层Modelpublic class Model { Context context; public Model(Context context) { this.context = context; } public void info(final PresenterInter pre){ DataManager dat...

2018-02-20 18:34:39 568

原创 RetrofitHelper 只有Get方法

package com.example.week1lx;import okhttp3.OkHttpClient;import retrofit2.Retrofit;import retrofit2.converter.gson.GsonConverterFactory;public class RetrofitHelper {    private static

2018-01-28 16:00:10 319

原创 分类

xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_h

2018-01-19 13:30:14 234

原创 动画跳转到详情MVP

布局activity_main.xmlxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tool

2018-01-19 09:02:44 256

原创 图片点击放大 松开缩小

权限            依赖//imageLoader    compile 'com.google.code.gson:gson:2.8.2'    //gson    compile 'com.squareup.okhttp3:okhttp:3.6.0'    //okhttp    compile 'com.squareup.okio:okio:1.11.0'    compile 'c

2018-01-18 15:06:16 336

原创 商品详情

在适配器里面进行点击跳转 final int pid = list.get(position).getPid();            holder.img.setOnClickListener(new View.OnClickListener() {                @Override                public void onClick(View v) {   

2018-01-18 14:46:43 408

原创 商品订单

//View层实现接口IMainActivity接口public interface IMainActivity { public void showData(boolean isRefresh, List list);}//M层进行解析数据CancleOrderModel类public class CancleOrderModel { publ

2018-01-13 19:26:21 263

原创 OkHttp3 拦截器 封装公共参数

package com.dash.a02_okhttp3_02;import android.app.Activity;import android.content.Intent;import android.net.Uri;import android.os.Environment;import android.util.Log;import android.widg

2018-01-13 17:19:32 1440

原创 MVP做购物车

drawable  bian_kuang.xmlshape xmlns:android="http://schemas.android.com/apk/res/android"> solid android:color="#ffffff"/> stroke android:color="#000000" android:width="0.1dp"/>shap

2018-01-12 18:49:20 321

原创 接口做登录注册搜索展示

布局activity_footer    xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"    android:layout_height="match_parent">            android:layout_w

2018-01-07 19:03:51 311

原创 登录注册MVP 跳转到搜索

activity_main.xmlxml 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:tool

2018-01-06 17:50:05 372

原创 MyApplication CommonUtils所用的类

import android.app.Application;import android.content.Context;import android.os.Handler;import android.os.Process;/** * Created by hasee on 2017/12/21. */public class MyApplication e

2018-01-06 08:49:51 208

原创 CommonUtils工具类

import android.content.SharedPreferences;import android.graphics.drawable.Drawable;import android.view.View;import com.bwie.guojiaxing.application.MyApplication;/** * Created by hasee on

2018-01-06 08:46:09 581

原创 MVP登录注册

activity_main.xmlxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:l

2018-01-04 18:32:17 186

原创 自定义Banner 点击跳转

MainActivity主页面import android.content.Intent;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import android.widget.Toast;import com.google.gson.Gson;import java.io.

2018-01-01 19:05:08 2195

原创 自定义五角星

布局xml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http:/

2017-12-28 21:19:58 302

原创 自定义太极

布局xml version="1.0" encoding="utf-8"?>android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-

2017-12-28 21:18:14 600

原创 自定义红旗手动跟随

布局xml version="1.0" encoding="utf-8"?>android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-

2017-12-28 21:15:50 204

原创 京东搜索页面

页面布局xml version="1.0" encoding="utf-8"?>LinearLayout android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.co

2017-12-28 21:08:40 473

原创 okhttp

package com.dash.a20_net_cart.util;import android.app.Activity;import android.content.Intent;import android.net.Uri;import android.os.Environment;import android.util.Log;import android.w

2017-12-26 21:45:44 211

原创 验证 查询 添加

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

2017-12-20 21:09:20 227

原创 购物车增加数量 总价

var app = angular.module("myApp", []);            app.controller("myCtrl", function($scope) {                $scope.shops = [{                    name: "苹果",                    price: 3,    

2017-12-20 20:10:26 418

原创 订单添加 批量删除 搜索 排序 时间排序 物流状态

.kuan {                width: 100px;                height: 20px;                border-top-left-radius: 5em;                border-top-right-radius: 5em;                border-bottom-right-

2017-12-20 10:32:38 552

原创 添加

//添加商品                $scope.isShow = false;                $scope.isShow2 = false;                $scope.showForm = function() {                    if($scope.isShow) {                      

2017-12-18 19:58:12 191

原创 购物车修改删除 全选反选批量删除查询排序

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

2017-12-16 17:01:29 773

原创 购物车删除 筛选 排序

var app = angular.module("myApp",[]);            app.controller("myCtrl",function($scope){                $scope.shops = [{                    id:80,                    name:"iPhone",      

2017-12-15 10:53:29 274

原创 viewpager无限轮播

package animtest.com.example.e531.viewpager_demo;import android.os.Handler;import android.os.Message;import android.support.v4.view.ViewPager;import android.support.v7.app.AppCompatActivity;

2017-11-22 14:27:56 196

原创 网络状态的判断

/** 判断网络连接是否已开* true 已打开 false 未打开* */ public static boolean isConn(Context context){ boolean bisConnFlag=false; ConnectivityManager conManager = (ConnectivityManager)context.g

2017-11-16 19:17:02 261

原创 上拉刷新下拉加载

//上拉刷新if(type==1){//代表刷新                //如果是刷新的话                datas.clear();//清除原有的数据                datas.addAll(result.getData());//添加新的数据                setAdapter();            

2017-11-11 16:18:33 223

原创 多个条目

/**多条目加载*/  //只有文本    private final int ONLY_TITLE=0;    //有图片且在右边    private final int ONLY_IMAGE_RIGHT=1;    private final DisplayImageOptions options; //返回视图类型的个数    @Overri

2017-11-11 16:16:51 248

原创 ImageLoader

options=new DisplayImageOptions.Builder()                .cacheInMemory(true)//使用内存缓存                .cacheOnDisk(true)//使用磁盘缓存                .showImageOnLoading(R.mipmap.ic_launcher)//设置正在下载的图

2017-11-11 16:15:00 225

原创 MyApplication

Log.d("zzz","程序入口点");        //sd卡上缓存目录-android指定的缓存路径 android/data//cache        File cachefile=getExternalCacheDir();        //自定义的缓存路径//        File cachefile=new File(Environment.getExte

2017-11-11 16:13:43 493

原创 StreamToString

public static String streamToStr(InputStream inputStream, String chartSet){        StringBuilder builder=new StringBuilder();        try {            BufferedReader br=new BufferedReader(new I

2017-11-11 16:11:31 318

空空如也

空空如也

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

TA关注的人

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