1.布局

1.1主页面布局

<?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.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"tools:context=".activity.MainActivity"android:orientation="vertical"><LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:orientation="horizontal"android:gravity="center"><EditTextandroid:id="@+id/etname"android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_weight="1"/><ImageViewandroid:id="@+id/sousu"android:layout_width="50dp"android:layout_height="50dp"android:background="@drawable/sou"/></LinearLayout><TextViewandroid:layout_width="match_parent"android:layout_height="wrap_content"android:text="搜索历史"android:textSize="30sp"android:textColor="#ff0000"/><com.bw.ymy.day18.CustomFlowLayoutandroid:id="@+id/customFlowLayout"android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_marginTop="10dp"/></LinearLayout>

1.2 跳转到显示购物车的布局详细

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"android:focusableInTouchMode="true"android:focusable="true"><RelativeLayoutandroid:id="@+id/layout_top"android:layout_width="match_parent"android:layout_height="60dp"><ImageViewandroid:id="@+id/iv_back"android:layout_width="30dp"android:layout_height="30dp"android:layout_centerVertical="true"/><TextViewandroid:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_centerHorizontal="true"android:layout_centerInParent="true"android:text="购物车"android:textColor="#ffffff"android:textSize="16sp" /></RelativeLayout><!--中间的显示--><android.support.v7.widget.RecyclerViewandroid:id="@+id/recyclerview"android:layout_width="match_parent"android:layout_height="match_parent"android:layout_above="@+id/layout_buttom"android:layout_below="@+id/layout_top" /><!--下面的全选--><RelativeLayoutandroid:id="@+id/layout_buttom"android:layout_width="match_parent"android:layout_height="50dp"android:layout_alignParentBottom="true"android:background="#ffffff"android:paddingLeft="10dp"><RelativeLayoutandroid:id="@+id/layout_all"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_centerVertical="true"><CheckBoxandroid:id="@+id/iv_cricle"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_centerVertical="true" /><TextViewandroid:id="@+id/txt_all"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_centerVertical="true"android:layout_marginLeft="5dp"android:layout_toRightOf="@+id/iv_cricle"android:text="全选/全不选" /></RelativeLayout><TextViewandroid:id="@+id/all_price"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_centerVertical="true"android:layout_marginLeft="5dp"android:layout_toRightOf="@+id/layout_all"android:layout_toLeftOf="@+id/sum_price"android:text="合计:0.00"android:textColor="#222222"android:textSize="16sp" /><RelativeLayoutandroid:id="@+id/sum_price"android:layout_width="100dp"android:layout_height="match_parent"android:layout_alignParentRight="true"android:background="@color/colorPrimary"><TextViewandroid:id="@+id/sum_price_txt"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_centerInParent="true"android:text="去结算(0)"android:textColor="#ffffff" /></RelativeLayout></RelativeLayout>
</RelativeLayout>

1.3商家显示的布局+adapter

package com.bw.ymy.day18.adapter;//商家的适配器import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.TextView;import com.bw.ymy.day18.R;
import com.bw.ymy.day18.bean.GoodsBean;import java.util.ArrayList;
import java.util.List;
//展示商家
public class showAdapter  extends RecyclerView.Adapter<showAdapter.MyViewHolder> {private List<GoodsBean.DataBean> mlist=new ArrayList<>();private Context mcontext;public showAdapter(Context context) {this.mcontext = context;}@NonNull@Overridepublic MyViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {View view=View.inflate(mcontext,R.layout.shop_seller,null);MyViewHolder myViewHolder=new MyViewHolder(view);return myViewHolder;}@Overridepublic void onBindViewHolder(@NonNull final MyViewHolder myViewHolder, final int i) {//设置商家的名字myViewHolder.mSell.setText(mlist.get(i).getSellerName());//重要final productsAdapter productsAdapter=new productsAdapter(mcontext,mlist.get(i).getList());LinearLayoutManager linearLayoutManager=new LinearLayoutManager(mcontext);myViewHolder.mRecyclerView.setLayoutManager(linearLayoutManager);//重要myViewHolder.mRecyclerView.setAdapter(productsAdapter);myViewHolder.mcheck.setChecked(mlist.get(i).isCheck());productsAdapter.setListener(new productsAdapter.ShopCallBackListener() {@Overridepublic void callBack() {if(mShopCallBackListener!=null){mShopCallBackListener.callBack(mlist);}List<GoodsBean.DataBean.ListBean> listBeans=mlist.get(i).getList();boolean isAllCheck=true;for (GoodsBean.DataBean.ListBean bean:listBeans){if(!bean.isCheck()){//只要由一个商品未选择,标志设为false,跳出循环isAllCheck=false;break;}}//刷新myViewHolder.mcheck.setChecked(isAllCheck);mlist.get(i).setCheck(isAllCheck);}});//商品所有的状态myViewHolder.mcheck.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {@Overridepublic void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {//改变标志的位置mlist.get(i).setCheck(myViewHolder.mcheck.isChecked());//调用产品adapter的方法,用来全选he反选productsAdapter.selectOrRemoveAll(myViewHolder.mcheck.isChecked());}});}@Overridepublic int getItemCount() {return mlist.size();}public  void  setList(List<GoodsBean.DataBean> list){this.mlist=list;notifyDataSetChanged();}public class  MyViewHolder extends  RecyclerView.ViewHolder{RecyclerView mRecyclerView;TextView mSell;CheckBox mcheck;public MyViewHolder(@NonNull View itemView) {super(itemView);mSell=itemView.findViewById(R.id.tv_shop);mcheck=itemView.findViewById(R.id.check_shop);mRecyclerView=itemView.findViewById(R.id.recycler_shop);}}private ShopCallBackListener mShopCallBackListener;public void setListener(ShopCallBackListener listener) {this.mShopCallBackListener = listener;}public interface ShopCallBackListener {void callBack(List<GoodsBean.DataBean> list);}
}

1.4商家名称的布局  shop_seller:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical"><LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:orientation="horizontal"><CheckBoxandroid:id="@+id/check_shop"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_centerVertical="true"android:layout_marginLeft="10dp" /><TextViewandroid:id="@+id/tv_shop"android:layout_width="match_parent"android:layout_height="wrap_content"android:layout_marginLeft="10dp"android:layout_alignRight="@+id/car_circle" /></LinearLayout><android.support.v7.widget.RecyclerViewandroid:id="@+id/recycler_shop"android:layout_width="match_parent"android:layout_height="match_parent"android:layout_below="@+id/seller_name" />
</LinearLayout>

1.5购物车详细的布局+adapter

package com.bw.ymy.day18.adapter;import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.TextView;import com.bumptech.glide.Glide;
import com.bw.ymy.day18.R;
import com.bw.ymy.day18.bean.GoodsBean;
import com.bw.ymy.day18.view.CountView;import java.util.ArrayList;
import java.util.List;//展示商家里面的的适配器
public class productsAdapter  extends RecyclerView.Adapter<productsAdapter.MyViewHolder>{private List<GoodsBean.DataBean.ListBean> mlist=new ArrayList<>();private Context mcontext;public productsAdapter(Context context,List<GoodsBean.DataBean.ListBean> list) {this.mcontext = context;this.mlist=list;}@NonNull@Overridepublic  MyViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {//调用View view=View.inflate(mcontext,R.layout.adapter,null);MyViewHolder myViewHolder=new MyViewHolder(view);return myViewHolder;}@Overridepublic void onBindViewHolder(@NonNull MyViewHolder myViewHolder,final int i) {String url = mlist.get(i).getImages().split("\\|")[0].replace("https", "http");Glide.with(mcontext).load(url).into(myViewHolder.mImage);myViewHolder.mTitle.setText(mlist.get(i).getTitle());myViewHolder.mPrice.setText(mlist.get(i).getPrice() + "");//根据我的记录状态,改变勾选myViewHolder.mCheckBox.setChecked(mlist.get(i).isCheck());//重要1//myViewHolder.mCustomShopCarPrice.setData(this,mlist,i);myViewHolder.mCheckBox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {@Overridepublic void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {//优先改变自己的状态mlist.get(i).setCheck(isChecked);if(mShopCallBackListener!=null){mShopCallBackListener.callBack();}}});//重要2   两者 缺一不可  这一个不写  size 为0myViewHolder.mCustomShopCarPrice.setData(this,mlist,i);myViewHolder.mCustomShopCarPrice.setOnCallBack(new CountView.CallBackListener() {@Overridepublic void callBack() {if (mShopCallBackListener != null) {mShopCallBackListener.callBack();}}});}@Overridepublic int getItemCount() {return mlist.size();}public  class  MyViewHolder extends RecyclerView.ViewHolder{CountView mCustomShopCarPrice;TextView mTitle, mPrice;ImageView mImage;CheckBox mCheckBox;public MyViewHolder(@NonNull View itemView) {super(itemView);mImage = (ImageView) itemView.findViewById(R.id.iv_product);mTitle = (TextView) itemView.findViewById(R.id.tv_product_title);mPrice = (TextView) itemView.findViewById(R.id.tv_product_price);mCheckBox = (CheckBox) itemView.findViewById(R.id.check_product);mCustomShopCarPrice = (CountView) itemView.findViewById(R.id.custom_product_counter);}}//修改全选/反选public void selectOrRemoveAll(boolean isSelectAll) {for (GoodsBean.DataBean.ListBean listBean : mlist) {listBean.setCheck(isSelectAll);}notifyDataSetChanged();}private ShopCallBackListener mShopCallBackListener;public void setListener(ShopCallBackListener listener) {this.mShopCallBackListener = listener;}public interface ShopCallBackListener {void callBack();}
}

1.6 购物车的布局+上方adapter

adapter
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="100dp"android:background="#ffffff"android:orientation="horizontal"><!--productsAdapter  调用的布局--><CheckBoxandroid:id="@+id/check_product"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_marginLeft="10dp" /><ImageViewandroid:id="@+id/iv_product"android:layout_width="100dp"android:layout_height="80dp"android:layout_marginLeft="5dp"android:layout_marginRight="10dp"/><LinearLayoutandroid:layout_width="match_parent"android:layout_height="100dp"android:orientation="vertical"><TextViewandroid:id="@+id/tv_product_title"android:layout_width="wrap_content"android:layout_height="wrap_content"android:lines="2"android:text="ssssss"android:textColor="#222222"android:layout_marginTop="10dp"/><LinearLayoutandroid:layout_width="match_parent"android:layout_height="40dp"android:orientation="horizontal"><TextViewandroid:id="@+id/tv_product_price"android:layout_width="wrap_content"android:layout_height="wrap_content"android:textColor="@color/colorPrimary"android:textSize="12sp" /><com.bw.ymy.day18.view.CountViewandroid:id="@+id/custom_product_counter"android:layout_width="wrap_content"android:layout_height="wrap_content"></com.bw.ymy.day18.view.CountView></LinearLayout></LinearLayout><Viewandroid:layout_width="match_parent"android:layout_height="5dp"android:layout_alignParentBottom="true"android:background="#cccccc" />
</LinearLayout>

1.7View  ++  -- :

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="wrap_content"android:layout_height="wrap_content"><ImageViewandroid:id="@+id/jian_car"android:layout_width="20dp"android:layout_height="20dp"android:layout_centerVertical="true"android:src="@mipmap/jian" /><ImageViewandroid:id="@+id/add_car"android:layout_width="20dp"android:layout_height="20dp"android:layout_centerVertical="true"android:layout_toRightOf="@+id/edit_shop_car"android:src="@mipmap/add" /><EditTextandroid:id="@+id/edit_shop_car"android:layout_width="50dp"android:layout_height="30dp"android:layout_centerVertical="true"android:layout_toRightOf="@+id/jian_car"android:background="@drawable/home_shop_bg"android:gravity="center_horizontal"android:inputType="number"android:text="1"android:textSize="14sp" />
</RelativeLayout>

2.1主页面 点击跳进购物车

package com.bw.ymy.day18.activity;import android.content.Intent;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;import com.bw.ymy.day18.CustomFlowLayout;
import com.bw.ymy.day18.R;public class MainActivity extends AppCompatActivity {ImageView sousu;EditText et;CustomFlowLayout customFlowLayout;@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);et=findViewById(R.id.etname);customFlowLayout=findViewById(R.id.customFlowLayout);//点击跳进购物车findViewById(R.id.sousu).setOnClickListener(new View.OnClickListener() {@Overridepublic void onClick(View v) {TextView tv=new TextView(MainActivity.this);tv.setText(et.getText());tv.setTextColor(Color.RED);customFlowLayout.addView(tv);//点击添加的文字  点击吐司tv.setOnClickListener(new View.OnClickListener() {@Overridepublic void onClick(View v) {Toast.makeText(MainActivity.this,et.getText().toString(),Toast.LENGTH_LONG).show();}});Intent intent=new Intent(MainActivity.this,Main2Activity.class);startActivity(intent);}});}
}

2.2购物车页面

package com.bw.ymy.day18.activity;import android.provider.SyncStateContract;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.CheckBox;
import android.widget.TextView;import com.bw.ymy.day18.Apis;
import com.bw.ymy.day18.Countansts;
import com.bw.ymy.day18.R;
import com.bw.ymy.day18.adapter.showAdapter;
import com.bw.ymy.day18.bean.GoodsBean;
import com.bw.ymy.day18.pewsenter.IPresenterlpl;
import com.bw.ymy.day18.view.IView;import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;public class Main2Activity extends AppCompatActivity implements IView,View.OnClickListener {private showAdapter mshowAdapter;private CheckBox mIvCircle;private List<GoodsBean.DataBean> mList = new ArrayList<>();private TextView mAllPriceTxt, nSumPrice;private IPresenterlpl iPresenterlpl;@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.activity_main2);iPresenterlpl=new IPresenterlpl(this);//获取资源idinitView();getData();}//解绑@Overrideprotected void onDestroy() {super.onDestroy();iPresenterlpl.detach();}//获取资源idpublic  void  initView(){mIvCircle = (CheckBox) findViewById(R.id.iv_cricle);mAllPriceTxt = (TextView) findViewById(R.id.all_price);nSumPrice = (TextView) findViewById(R.id.sum_price_txt);mIvCircle.setOnClickListener(this);RecyclerView mRecyclerView = (RecyclerView) findViewById(R.id.recyclerview);LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this);linearLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);mRecyclerView.setLayoutManager(linearLayoutManager);mshowAdapter = new showAdapter(this);mRecyclerView.setAdapter(mshowAdapter);//点击ShopCallBackListenermshowAdapter.setListener(new showAdapter.ShopCallBackListener(){@Overridepublic void callBack(List<GoodsBean.DataBean> list) {double totalprice=0;int num=0;int totalNum=0;for (int a=0;a<list.size();a++){List<GoodsBean.DataBean.ListBean> listall=list.get(a).getList();for (int i=0;i<listall.size();i++){totalNum=totalNum+listall.get(i).getNum();if(listall.get(i).isCheck()){totalprice=totalprice+(listall.get(i).getPrice()*listall.get(i).getNum());num=num+listall.get(i).getNum();}}}if(num<totalNum){//不是全部选中mIvCircle.setChecked(false);}else{mIvCircle.setChecked(true);}mAllPriceTxt.setText("合计:"+totalprice);nSumPrice.setText("去结算(" + num + ")");}});}public  void  getData(){Map<String, String> map = new HashMap<>();map.put(Countansts.MAP_KEY_GET_PRODUCT_UID,"71");iPresenterlpl.getRequest(Apis.URL_GET_SHOP_CAR_INFO, map, GoodsBean.class);}@Overridepublic void onsuccess(Object data) {if(data instanceof  GoodsBean){GoodsBean bean= (GoodsBean) data;mList=bean.getData();if(mList!=null){mList.remove(0);mshowAdapter.setList(mList);}}}//点击事件@Overridepublic void onClick(View v) {switch (v.getId()){case R.id.iv_cricle:checkSeller(mIvCircle.isChecked());mshowAdapter.notifyDataSetChanged();break;default:}}//修改选中状态,获取价格数量private  void checkSeller(boolean bool){double totalPrice = 0;int num = 0;for (int a = 0; a < mList.size(); a++) {//遍历商家,改变状态GoodsBean.DataBean dataBean = mList.get(a);dataBean.setCheck(bool);List<GoodsBean.DataBean.ListBean> listAll = mList.get(a).getList();for (int i = 0; i < listAll.size(); i++) {//遍历商品,改变状态listAll.get(i).setCheck(bool);totalPrice = totalPrice + (listAll.get(i).getPrice() * listAll.get(i).getNum());num = num + listAll.get(i).getNum();}}if (bool) {mAllPriceTxt.setText("合计:" + totalPrice);nSumPrice.setText("去结算(" + num + ")");} else {mAllPriceTxt.setText("合计:0.00");nSumPrice.setText("去结算(0)");}}}

3.定义的View  数量加减

package com.bw.ymy.day18.view;import android.content.Context;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.AttributeSet;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.Toast;import com.bw.ymy.day18.R;
import com.bw.ymy.day18.adapter.productsAdapter;
import com.bw.ymy.day18.bean.GoodsBean;import java.util.ArrayList;
import java.util.List;//数量 +  -
public class CountView extends RelativeLayout implements View.OnClickListener {private EditText editCha;private ImageView add,jian;public CountView(Context context) {super(context);init(context);}public CountView(Context context, AttributeSet attrs) {super(context, attrs);init(context);}public CountView(Context context, AttributeSet attrs, int defStyleAttr) {super(context, attrs, defStyleAttr);init(context);}private  Context context;private  void init(Context context){this.context=context;View view=View.inflate(context, R.layout.shop_count,null);add =  view.findViewById(R.id.add_car);jian =  view.findViewById(R.id.jian_car);editCha=view.findViewById(R.id.edit_shop_car);add.setOnClickListener(this);jian.setOnClickListener(this);addView(view);editCha.addTextChangedListener(new TextWatcher() {@Overridepublic void beforeTextChanged(CharSequence s, int start, int count, int after) {}@Overridepublic void onTextChanged(CharSequence s, int start, int before, int count) {}@Overridepublic void afterTextChanged(Editable s) {}});}private  int num;@Overridepublic void onClick(View v) {switch (v.getId()){//点击改变数量case R.id.add_car:num++;editCha.setText(num+"");list.get(position).setNum(num);listener.callBack();productsAdapter.notifyItemChanged(position);break;case  R.id.jian_car:if(num>1){num--;}else{toast("不能再减了!");}editCha.setText(num+"");list.get(position).setNum(num);listener.callBack();productsAdapter.notifyItemChanged(position);break;default:break;}}//吐司private void toast(String msg) {Toast.makeText(context, msg, Toast.LENGTH_LONG).show();}//传递的数据private List<GoodsBean.DataBean.ListBean> list = new ArrayList<>();private int position;private productsAdapter productsAdapter;//隐藏 显示public void setData(productsAdapter productsAdapter, List<GoodsBean.DataBean.ListBean> list, int i) {this.list=list;this.productsAdapter=productsAdapter;position=i;num=list.get(i).getNum();editCha.setText(num+"");}private CallBackListener listener;public void setOnCallBack(CallBackListener listener) {this.listener = listener;}public interface CallBackListener {void callBack();}
}

4.Apis

package com.bw.ymy.day18;public class Apis {public static final String URL_GET_SHOP_CAR_INFO = "http://www.zhaoapi.cn/product/getCarts";
}

5.Countansts

package com.bw.ymy.day18;public class Countansts {public static final String MAP_KEY_GET_PRODUCT_UID= "uid";
}

6.搜素

package com.bw.ymy.day18;import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;public class CustomFlowLayout extends LinearLayout {//孩子最高的一个private  int mChildMaxHeight;//左边距private  int mHSpace=20;//上下边距private  int mVspace=20;public CustomFlowLayout(Context context) {super(context);}public CustomFlowLayout(Context context,  AttributeSet attrs) {super(context, attrs);}//测量布局@Overrideprotected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {super.onMeasure(widthMeasureSpec, heightMeasureSpec);//先拿到父容器的宽和高int sizeWidth=MeasureSpec.getSize(widthMeasureSpec);int sizeHeight=MeasureSpec.getSize(heightMeasureSpec);//测量孩子大小measureChildren(widthMeasureSpec,heightMeasureSpec);//寻找最高的一个findMaxChilderHeight();//初始化int left=0,top=0;//开始循环int childCount=getChildCount();for (int i=0;i<childCount;i++){View view=getChildAt(i);//判断是否是第一行的第一个if(left!=0){if((left+view.getMeasuredWidth())>sizeWidth){top+=mChildMaxHeight+mVspace;left=0;}}left+=view.getMeasuredWidth()+mHSpace;}setMeasuredDimension(sizeWidth,(top+mChildMaxHeight)>sizeHeight?sizeHeight:top+mChildMaxHeight);}//绘制@Overrideprotected void onLayout(boolean changed, int l, int t, int r, int b) {super.onLayout(changed, l, t, r, b);findMaxChilderHeight();int left=0,top=0;//开始循环int childCount=getChildCount();for (int i=0;i<childCount;i++){View view=getChildAt(i);//判断是否是第一行的第一个if(left!=0){if((left+view.getMeasuredWidth())>getWidth()){top+=mChildMaxHeight+mVspace;left=0;}}view.layout(left,top,left+view.getMeasuredWidth(),top+getMeasuredHeight());left+=view.getMeasuredWidth()+mHSpace;}}//最高的孩子private  void findMaxChilderHeight(){mChildMaxHeight=0;int  childCount=getChildCount();for (int i=0;i<childCount;i++){View view=getChildAt(i);if(view.getMeasuredHeight()>mChildMaxHeight){mChildMaxHeight=view.getMeasuredHeight();}}}
}

bean类:

package com.bw.ymy.day18.bean;import java.util.List;public class GoodsBean {/*** msg : 请求成功* code : 0* data : [{"list":[],"sellerName":"","sellerid":"0"},{"list":[{"bargainPrice":111.99,"createtime":"2017-10-14T21:48:08","detailUrl":"https://item.m.jd.com/product/4719303.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t9004/210/1160833155/647627/ad6be059/59b4f4e1N9a2b1532.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7504/338/63721388/491286/f5957f53/598e95f1N7f2adb87.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7441/10/64242474/419246/adb30a7d/598e95fbNd989ba0a.jpg!q70.jpg","num":8,"pid":11,"price":8989,"pscid":1,"selected":0,"sellerid":4,"subhead":"每个中秋都不能简单,无论身在何处,你总需要一块饼让生活更圆满,京东月饼让爱更圆满京东自营,闪电配送,更多惊喜,快用手指戳一下","title":"北京稻香村 稻香村中秋节月饼 老北京月饼礼盒655g"}],"sellerName":"商家4","sellerid":"4"},{"list":[{"bargainPrice":111.99,"createtime":"2017-10-03T23:43:53","detailUrl":"https://item.m.jd.com/product/4719303.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t9004/210/1160833155/647627/ad6be059/59b4f4e1N9a2b1532.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7504/338/63721388/491286/f5957f53/598e95f1N7f2adb87.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7441/10/64242474/419246/adb30a7d/598e95fbNd989ba0a.jpg!q70.jpg","num":1,"pid":13,"price":465,"pscid":1,"selected":0,"sellerid":6,"subhead":"每个中秋都不能简单,无论身在何处,你总需要一块饼让生活更圆满,京东月饼让爱更圆满京东自营,闪电配送,更多惊喜,快用手指戳一下","title":"北京稻香村 稻香村中秋节月饼 老北京月饼礼盒655g"}],"sellerName":"商家6","sellerid":"6"},{"list":[{"bargainPrice":11800,"createtime":"2017-10-14T21:38:26","detailUrl":"https://mitem.jd.hk/ware/view.action?wareId=1988853309&cachekey=1acb07a701ece8d2434a6ae7fa6870a1","images":"https://m.360buyimg.com/n0/jfs/t6130/97/1370670410/180682/1109582a/593276b1Nd81fe723.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5698/110/2617517836/202970/c9388feb/593276b7Nbd94ef1f.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5698/110/2617517836/202970/c9388feb/593276b7Nbd94ef1f.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5815/178/2614671118/51656/7f52d137/593276c7N107b725a.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5878/60/2557817477/30873/4502b606/593276caN5a7d6357.jpg!q70.jpg","num":3,"pid":63,"price":10000,"pscid":40,"selected":0,"sellerid":7,"subhead":"购买电脑办公部分商品满1元返火车票5元优惠券(返完即止)","title":"全球购 新款Apple MacBook Pro 苹果笔记本电脑 银色VP2新13英寸Bar i5/8G/256G"}],"sellerName":"商家7","sellerid":"7"},{"list":[{"bargainPrice":399,"createtime":"2017-10-03T23:53:28","detailUrl":"https://item.m.jd.com/product/1439822107.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t5887/201/859509257/69994/6bde9bf6/59224c24Ne854e14c.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5641/233/853609022/57374/5c73d281/59224c24N3324d5f4.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5641/233/853609022/57374/5c73d281/59224c24N3324d5f4.jpg!q70.jpg","num":1,"pid":87,"price":888,"pscid":85,"selected":0,"sellerid":8,"subhead":"满2件,总价打6.50折","title":"Gap男装 休闲舒适简约水洗五袋直筒长裤紧身牛仔裤941825 深灰色 33/32(175/84A)"},{"bargainPrice":3455,"createtime":"2017-10-03T23:53:28","detailUrl":"https://item.m.jd.com/product/12224420750.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t9106/106/1785172479/537280/253bc0ab/59bf78a7N057e5ff7.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t9106/106/1785172479/537280/253bc0ab/59bf78a7N057e5ff7.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t8461/5/1492479653/68388/7255e013/59ba5e84N91091843.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t8461/5/1492479653/68388/7255e013/59ba5e84N91091843.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t8803/356/1478945529/489755/2a163ace/59ba5e84N7bb9a666.jpg!q70.jpg","num":2,"pid":52,"price":666,"pscid":39,"selected":0,"sellerid":8,"subhead":"【现货新品抢购】全面屏2.0震撼来袭,骁龙835处理器,四曲面陶瓷机","title":"小米(MI) 小米MIX2 手机 黑色 全网通 (6GB+64GB)【标配版】"}],"sellerName":"商家8","sellerid":"8"},{"list":[{"bargainPrice":11800,"createtime":"2017-10-14T21:48:08","detailUrl":"https://mitem.jd.hk/ware/view.action?wareId=1988853309&cachekey=1acb07a701ece8d2434a6ae7fa6870a1","images":"https://m.360buyimg.com/n0/jfs/t6130/97/1370670410/180682/1109582a/593276b1Nd81fe723.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5698/110/2617517836/202970/c9388feb/593276b7Nbd94ef1f.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5698/110/2617517836/202970/c9388feb/593276b7Nbd94ef1f.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5815/178/2614671118/51656/7f52d137/593276c7N107b725a.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5878/60/2557817477/30873/4502b606/593276caN5a7d6357.jpg!q70.jpg","num":3,"pid":65,"price":12000,"pscid":40,"selected":0,"sellerid":9,"subhead":"购买电脑办公部分商品满1元返火车票5元优惠券(返完即止)","title":"全球购 新款Apple MacBook Pro 苹果笔记本电脑 银色VP2新13英寸Bar i5/8G/256G"},{"bargainPrice":2999,"createtime":"2017-10-14T21:48:08","detailUrl":"https://item.m.jd.com/product/2385655.html?utm#_source=androidapp&utm#_medium=appshare&utm#_campaign=t#_335139774&utm#_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t2068/298/2448145915/157953/7be197df/56d51a42Nd86f1c8e.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t2437/128/1687178395/117431/bcc190c1/56d3fcbaNb2963d21.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t2467/222/2263160610/95597/927b8a2f/56d3eafeNdecebeb6.jpg!q70.jpg","num":2,"pid":53,"price":777,"pscid":39,"selected":0,"sellerid":9,"subhead":"Super AMOLED三星双曲面2K 屏,支持无线充电!","title":"三星 Galaxy S7 edge(G9350)4GB+32GB 铂光金 移动联通电信4G手机 双卡双待"},{"bargainPrice":111.99,"createtime":"2017-10-14T21:39:05","detailUrl":"https://item.m.jd.com/product/4719303.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t9004/210/1160833155/647627/ad6be059/59b4f4e1N9a2b1532.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7504/338/63721388/491286/f5957f53/598e95f1N7f2adb87.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7441/10/64242474/419246/adb30a7d/598e95fbNd989ba0a.jpg!q70.jpg","num":1,"pid":16,"price":199,"pscid":1,"selected":0,"sellerid":9,"subhead":"每个中秋都不能简单,无论身在何处,你总需要一块饼让生活更圆满,京东月饼让爱更圆满京东自营,闪电配送,更多惊喜,快用手指戳一下","title":"北京稻香村 稻香村中秋节月饼 老北京月饼礼盒655g"}],"sellerName":"商家9","sellerid":"9"},{"list":[{"bargainPrice":11800,"createtime":"2017-10-14T21:38:26","detailUrl":"https://mitem.jd.hk/ware/view.action?wareId=1988853309&cachekey=1acb07a701ece8d2434a6ae7fa6870a1","images":"https://m.360buyimg.com/n0/jfs/t6130/97/1370670410/180682/1109582a/593276b1Nd81fe723.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5698/110/2617517836/202970/c9388feb/593276b7Nbd94ef1f.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5698/110/2617517836/202970/c9388feb/593276b7Nbd94ef1f.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5815/178/2614671118/51656/7f52d137/593276c7N107b725a.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t5878/60/2557817477/30873/4502b606/593276caN5a7d6357.jpg!q70.jpg","num":3,"pid":66,"price":13000,"pscid":40,"selected":0,"sellerid":10,"subhead":"购买电脑办公部分商品满1元返火车票5元优惠券(返完即止)","title":"全球购 新款Apple MacBook Pro 苹果笔记本电脑 银色VP2新13英寸Bar i5/8G/256G"},{"bargainPrice":159,"createtime":"2017-10-14T21:49:15","detailUrl":"https://item.m.jd.com/product/5061723.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t8716/197/1271594444/173291/2f40bb4f/59b743bcN8509428e.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t8347/264/1286771527/92188/5cf5ec04/59b7420fN65378e9e.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7363/165/3000956253/190883/179a372/59b743bfNd0c79d93.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7399/112/2935531768/183594/b77c7d4a/59b7441aNc3d40133.jpg!q70.jpg","num":5,"pid":99,"price":2100,"pscid":112,"selected":0,"sellerid":10,"subhead":"针织针织闪闪闪亮你的眼","title":"维迩旎 2017秋冬新款长袖针织连衣裙韩版气质中长款名媛包臀A字裙 zx179709 黑色 XL"},{"bargainPrice":111.99,"createtime":"2017-10-03T23:53:28","detailUrl":"https://item.m.jd.com/product/4719303.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t9004/210/1160833155/647627/ad6be059/59b4f4e1N9a2b1532.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7504/338/63721388/491286/f5957f53/598e95f1N7f2adb87.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7441/10/64242474/419246/adb30a7d/598e95fbNd989ba0a.jpg!q70.jpg","num":2,"pid":17,"price":299,"pscid":1,"selected":0,"sellerid":10,"subhead":"每个中秋都不能简单,无论身在何处,你总需要一块饼让生活更圆满,京东月饼让爱更圆满京东自营,闪电配送,更多惊喜,快用手指戳一下","title":"北京稻香村 稻香村中秋节月饼 老北京月饼礼盒655g"}],"sellerName":"商家10","sellerid":"10"},{"list":[{"bargainPrice":159,"createtime":"2017-10-14T21:49:15","detailUrl":"https://item.m.jd.com/product/5061723.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t8716/197/1271594444/173291/2f40bb4f/59b743bcN8509428e.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t8347/264/1286771527/92188/5cf5ec04/59b7420fN65378e9e.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7363/165/3000956253/190883/179a372/59b743bfNd0c79d93.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7399/112/2935531768/183594/b77c7d4a/59b7441aNc3d40133.jpg!q70.jpg","num":1,"pid":100,"price":2200,"pscid":112,"selected":0,"sellerid":11,"subhead":"针织针织闪闪闪亮你的眼","title":"维迩旎 2017秋冬新款长袖针织连衣裙韩版气质中长款名媛包臀A字裙 zx179709 黑色 XL"},{"bargainPrice":22.9,"createtime":"2017-10-14T21:38:26","detailUrl":"https://item.m.jd.com/product/2542855.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t1930/284/2865629620/390243/e3ade9c4/56f0a08fNbd3a1235.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t2137/336/2802996626/155915/e5e90d7a/56f0a09cN33e01bd0.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t1882/31/2772215910/389956/c8dbf370/56f0a0a2Na0c86ea6.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t2620/166/2703833710/312660/531aa913/57709035N33857877.jpg!q70.jpg","num":5,"pid":34,"price":9,"pscid":2,"selected":0,"sellerid":11,"subhead":"三只松鼠零食特惠,专区满99减50,满199减100,火速抢购》","title":"三只松鼠 坚果炒货 零食奶油味 碧根果225g/袋"},{"bargainPrice":111.99,"createtime":"2017-10-14T21:48:08","detailUrl":"https://item.m.jd.com/product/4719303.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t9004/210/1160833155/647627/ad6be059/59b4f4e1N9a2b1532.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7504/338/63721388/491286/f5957f53/598e95f1N7f2adb87.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7441/10/64242474/419246/adb30a7d/598e95fbNd989ba0a.jpg!q70.jpg","num":2,"pid":18,"price":399,"pscid":1,"selected":0,"sellerid":11,"subhead":"每个中秋都不能简单,无论身在何处,你总需要一块饼让生活更圆满,京东月饼让爱更圆满京东自营,闪电配送,更多惊喜,快用手指戳一下","title":"北京稻香村 稻香村中秋节月饼 老北京月饼礼盒655g"}],"sellerName":"商家11","sellerid":"11"},{"list":[{"bargainPrice":111.99,"createtime":"2017-10-14T21:39:05","detailUrl":"https://item.m.jd.com/product/4719303.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t9004/210/1160833155/647627/ad6be059/59b4f4e1N9a2b1532.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7504/338/63721388/491286/f5957f53/598e95f1N7f2adb87.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7441/10/64242474/419246/adb30a7d/598e95fbNd989ba0a.jpg!q70.jpg","num":3,"pid":19,"price":499,"pscid":1,"selected":0,"sellerid":12,"subhead":"每个中秋都不能简单,无论身在何处,你总需要一块饼让生活更圆满,京东月饼让爱更圆满京东自营,闪电配送,更多惊喜,快用手指戳一下","title":"北京稻香村 稻香村中秋节月饼 老北京月饼礼盒655g"}],"sellerName":"商家12","sellerid":"12"},{"list":[{"bargainPrice":111.99,"createtime":"2017-10-14T21:39:05","detailUrl":"https://item.m.jd.com/product/4719303.html?utm_source=androidapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=QQfriends","images":"https://m.360buyimg.com/n0/jfs/t9004/210/1160833155/647627/ad6be059/59b4f4e1N9a2b1532.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7504/338/63721388/491286/f5957f53/598e95f1N7f2adb87.jpg!q70.jpg|https://m.360buyimg.com/n0/jfs/t7441/10/64242474/419246/adb30a7d/598e95fbNd989ba0a.jpg!q70.jpg","num":1,"pid":1,"price":118,"pscid":1,"selected":0,"sellerid":17,"subhead":"每个中秋都不能简单,无论身在何处,你总需要一块饼让生活更圆满,京东月饼让爱更圆满京东自营,闪电配送,更多惊喜,快用手指戳一下","title":"北京稻香村 稻香村中秋节月饼 老北京月饼礼盒655g"}],"sellerName":"商家17","sellerid":"17"}]*/private String msg;private String code;private List<DataBean> data;public String getMsg() {return msg;}public void setMsg(String msg) {this.msg = msg;}public String getCode() {return code;}public void setCode(String code) {this.code = code;}public List<DataBean> getData() {return data;}public void setData(List<DataBean> data) {this.data = data;}public static class DataBean {/*** list : []* sellerName :* sellerid : 0*/private String sellerName;private String sellerid;private List<ListBean> list;//判断  手写private  boolean isCheck=false;public boolean isCheck() {return isCheck;}public void setCheck(boolean check) {isCheck = check;}public String getSellerName() {return sellerName;}public void setSellerName(String sellerName) {this.sellerName = sellerName;}public String getSellerid() {return sellerid;}public void setSellerid(String sellerid) {this.sellerid = sellerid;}public List<ListBean> getList() {return list;}public void setList(List<ListBean> list) {this.list = list;}public  static  class  ListBean{private double bargainPrice;private String createtime;private String detailUrl;private String images;private int num;private int pid;private double price;private int pscid;private int selected;private int sellerid;private String subhead;private String title;private boolean isCheck = false;public boolean isCheck() {return isCheck;}public void setCheck(boolean check) {isCheck = check;}public double getBargainPrice() {return bargainPrice;}public void setBargainPrice(double bargainPrice) {this.bargainPrice = bargainPrice;}public String getCreatetime() {return createtime;}public void setCreatetime(String createtime) {this.createtime = createtime;}public String getDetailUrl() {return detailUrl;}public void setDetailUrl(String detailUrl) {this.detailUrl = detailUrl;}public String getImages() {return images;}public void setImages(String images) {this.images = images;}public int getNum() {return num;}public void setNum(int num) {this.num = num;}public int getPid() {return pid;}public void setPid(int pid) {this.pid = pid;}public double getPrice() {return price;}public void setPrice(double price) {this.price = price;}public int getPscid() {return pscid;}public void setPscid(int pscid) {this.pscid = pscid;}public int getSelected() {return selected;}public void setSelected(int selected) {this.selected = selected;}public int getSellerid() {return sellerid;}public void setSellerid(int sellerid) {this.sellerid = sellerid;}public String getSubhead() {return subhead;}public void setSubhead(String subhead) {this.subhead = subhead;}public String getTitle() {return title;}public void setTitle(String title) {this.title = title;}}}
}

效果图

伪购物车(价格+-,金额)相关推荐

  1. java中描述价格_JAVA中价格金额的存储类型

    标签:pre   等于   pac   额的   pack   应该   multi   tip   sub 在java项目中,我们会遇到价格.金额的数据,这时候我们java中应该用BigDecima ...

  2. 大话设计模式 第二章 策略模式购物车价格查询

    策略模式定义 定义一系列功能 把它们一个个封装起来 并使它们可以相互替换 提供统一的入口访问包装的功能 问题 添加商品和优惠券到购物车后查询价格 思考 要想获取购物车的支付价格 需要经过所有的优惠券优 ...

  3. java 购物车价格类型_WooCommerce - 为购物车中的每个产品添加自定义价格

    更新:对于WooCommerce 3.0,在WooCommerce 3.0版中更改购物车商品价格 您可以使用 woocommerce_before_calculate_totals hook来自定义购 ...

  4. php购物车商品价格变了,php – WooCommerce:购物车价格覆盖文字

    我们有一堆产品: >没有价格 >零价格 我们使用内置挂钩购买它们但购物车在结账时仍然显示为0. 我们喜欢购物车和购物车.结帐摘要显示"特殊订单"或任何其他文本,但似乎W ...

  5. 原生js 实现购物车价格和总价 统计

    1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="U ...

  6. MySQL数据库存储价格金额使用的数据类型中float、double、decimal的区别

    float类型表示单精度浮点数值,double类型表示双精度浮点数值,float和double都是浮点型,而decimal是定点型: MySQL 浮点型和定点型可以用类型名称后加(M,D)来表示,M表 ...

  7. html中购物车总金怎么算额,计算购物车金额总和( jquery )

    今天简单写了一个jq版购物车计算金额总和的例子,如图: 整体页面代码如下: *{ list-style: none; } html,body{ margin: 0; padding: 0; } .al ...

  8. 购物车模块如何进行测试?

    目录 一. 验证购物车界面设计 二. 购物车功能测试 三. 购物车非功能 测试工作中遇到有商品购买类的项目时,对于购物车模块的测试是无法绕开的.鉴于购物车模块在项目业务中的复杂性,想要对购物车功能模块 ...

  9. 【测试用例练习】测试购物车(含思路)

    文章目录 分析题目-测试购物车 一.功能测试 二.性能测试 三.界面/UI测试 四.安全性测试 五.兼容性测试 六.易用性测试 七.网络测试 八.中断测试 分析题目-测试购物车 仍然是把自己想象成一个 ...

最新文章

  1. 联想筹资13.5亿美元 支付收购摩托罗拉移动剩余款
  2. winPcap_2_编译环境*注意*
  3. STL之stack,queue,优先队列
  4. Java 异常 总结 try catch finally Exception
  5. nvidia的jetson系列的方案_NVIDIA Jetson Xavier NX开发者套件主要应用于自主机器边缘计算产品系列...
  6. 移除加密的pdf文件密码
  7. oracle 分词函数,Oracle 中文分词
  8. 服务器如何修改内存大小,如何限制docker容器的内存大小
  9. MySQL删除s表命令_SQL语句中删除表数据drop、truncate和delete的用法
  10. OpenCV3编程入门(毛星云)读书笔记(一)
  11. Java +Vue 实现滑动拼图验证码(Java篇 )
  12. 一、python:一种计算机的胶水语言
  13. 网站数据采集器-文章采集工具-关键词文章采集工具
  14. driller/shellphish安装与简单例程
  15. 使用canvas画折线图和曲线图
  16. Scratch少儿编程教培系统源码下载
  17. 一些数学优化计算的工具
  18. toad for mysql_toad for mysql
  19. 使用MyEclipse进行单元测试的时候出现java(TM)plantform se binary已停止工作,只能退出...
  20. 笔记本电脑进水了怎么办?

热门文章

  1. 什么样的机器翻译比Google还要占优? | 硬创公开课
  2. Skype开始支持微软账号与Skype账号的解绑定
  3. selenium使用
  4. metabase Drill Through(数据下钻)能力
  5. 如何打开vhdx文件
  6. Win32编程实现剪贴板监控查看
  7. C语言九九乘法口诀表
  8. 黑马的ssm课程中class报错:Description : The fully qualified name of the bean‘s class, except if it serves onl
  9. 用圆体来美化你的FC5(转)
  10. 深入浅出FPGA-12-VMM(验证方法学)