private void bindViewType(WXComponent component){
  int id=generateViewType(component);
  if (mViewTypes == null) {
    mViewTypes=new SparseArray<>();
  }
  ArrayList<WXComponent> mTypes=mViewTypes.get(id);
  if (mTypes == null) {
    mTypes=new ArrayList<>();
    mViewTypes.put(id,mTypes);
  }
  mTypes.add(component);
}

private void bindViewType ( WXComponent component ) { int id = generateViewType ( component ) ; if ( mViewTypes == null ) { mViewTypes = new SparseArray < > ( ) ; } ArrayList < WXComponent > mTypes = mViewTypes . get ( id ) ; if ( mTypes == null ) { mTypes = new ArrayList < > ( ) ; mViewTypes . put ( id , mTypes ) ; } mTypes . add ( component ) ; }
viewtype will be classified into { hashmap < integer , arraylist < integer > > mviewtypes }
