public ArrayList<ShortcutInfo> bindItems(ArrayList<ShortcutInfo> items){
  ArrayList<View> icons=new ArrayList<View>();
  ArrayList<ShortcutInfo> extra=new ArrayList<ShortcutInfo>();
  for (  ShortcutInfo item : items) {
    if (!ALLOW_FOLDER_SCROLL && icons.size() >= mMaxItemsPerPage) {
      extra.add(item);
    }
 else {
      icons.add(createNewView(item));
    }
  }
  arrangeChildren(icons,icons.size(),false);
  return extra;
}

public ArrayList < ShortcutInfo > bindItems ( ArrayList < ShortcutInfo > items ) { ArrayList < View > icons = new ArrayList < View > ( ) ; ArrayList < ShortcutInfo > extra = new ArrayList < ShortcutInfo > ( ) ; for ( ShortcutInfo item : items ) { if ( ! ALLOW_FOLDER_SCROLL && icons . size ( ) >= mMaxItemsPerPage ) { extra . add ( item ) ; } else { icons . add ( createNewView ( item ) ) ; } } arrangeChildren ( icons , icons . size ( ) , false ) ; return extra ; }
binds items to the layout .
