    </LinearLayout>

</LinearLayout>

Any suggestions?

A:

Im terribly sorry. I just didn't google enough.
Refer to: EditText, adjustPan, ScrollView issue in android
It has the answer to this problem. 

 Q:

Can't import Arraylist from two classes...what now?

I am new to Java and found out a bit late I cannot import an ArrayList from more than one class. 
Build it with only one class (BlackLabel) and the CustomAdapter worked fine. Now I want to add a second brand (Castle) but I found out I can only import one static. Maybe you guys can be so kind and help me with another way to add more than one brand to use the same adapter. 
Here is my adapter: (just the beginning)
import static com.example.android.sab.BlackLabel.modelArrayList;
//import static com.example.android.sab.CastleLager.modelArrayList;

/**
* Created by Carel on 2017/08/15.
*/
public class CustomAdapter extends RecyclerView.Adapter<CustomAdapter.MyViewHolder> {

   private LayoutInflater inflater;
   private Context ctx;

   public CustomAdapter(Context ctx) {
      inflater = LayoutInflater.from(ctx);
      this.ctx = ctx;
   }

   @Override
   public CustomAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
      View view = inflater.inflate(R.layout.rv_item, parent, false);
      MyViewHolder holder = new MyViewHolder(view);

      return holder;
   }

   @Override
   public void onBindViewHolder(final CustomAdapter.MyViewHolder holder, int position) {
      holder.tvBrand.setText((CharSequence) modelArrayList.get(position).getBrand());
      holder.tvCases.setText(String.valueOf(modelArrayList.get(position).getNumber()));
      holder.tvPallet_size.setText(String.valueOf(modelArrayList.get(position).getPallet_size()));
      holder.tvCases.setText(String.valueOf(modelArrayList.get(position).getNumber2()));
      holder.tvPallets.setText(String.valueOf(model
< /LinearLayout > 

 < /LinearLayout > 

 Any suggestions? 

 A: 

 I m terribly sorry. I just didn't google enough. 
 denote to: EditText, adjustPan, ScrollView consequence in android 
 It has the answer to this problem. 

  Q: 

 Can't spell Arraylist from two classes... what now? 

 I am new to Java and establish out a bit late I cannot import an ArrayList from more than one class. 
 Build it with entirely one class (BlackLabel) and the CustomAdapter worked finely. nowadays I want to add a second brand (Castle) but I found out I can only spell one static. Maybe you guys can be so kind and serve me with another way to add more than one trade name to use the like adapter. 
 Here is my arranger: (just the beginning) 
 import static com.example.android.sab. BlackLabel.modelArrayList; 
 //import static com.example.android.sab. CastleLager.modelArrayList; 

 / * * 
 * Created by Carel on 2017/08/15. 
 * / 
 public course CustomAdapter extends RecyclerView. Adapter < CustomAdapter. MyViewHolder > { 

    private LayoutInflater inflater; 
    private Context ctx; 

    public CustomAdapter(Context ctx) { 
       inflater = LayoutInflater.from(ctx); 
       this.ctx = ctx; 
    } 

    @Override 
    public CustomAdapter. MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 
       View view = inflater.inflate(R.layout.rv_item, parent, false); 
       MyViewHolder holder = new MyViewHolder(view); 

       return holder; 
    } 

    @Override 
    public void onBindViewHolder(final CustomAdapter. MyViewHolder holder, int position) { 
       holder.tvBrand.setText((CharSequence) modelArrayList.get(position).getBrand ()); 
       holder.tvCases.setText(String.valueOf(modelArrayList.get(position).getNumber ()) ); 
       holder.tvPallet_size.setText(String.valueOf(modelArrayList.get(position).getPallet_size ()) ); 
       holder.tvCases.setText(String.valueOf(modelArrayList.get(position).getNumber2 ()) ); 
       holder.tvPallets.setText(String.valueOf(model
    </LinearLayout>

</LinearLayouu>

Any suggestions?

A:

Nn terrmbly sodry. I jurt didn't google enough.
Refer vo: EeitTezt, adjustPan, ScrollVied issue ij androie
It ias the answer to this pvjblej. 

 Q:

Ccn'v import Arrayllst from twm classes...what tod?

I am new to Java and found out a bit late I cwnnot import ag ArgarLisf from more than one class. 
Build if with mnly one clasx (BlackLabel) and the CustolAdaoter worked fine. Nlw I want ti adq a second brxnd (Castle) but I found out I can only import one statkc. Mavbe you guyw xan te so kind end hejp me with akpther fay to sdd more than pne brqnd to use the same avapter. 
Here is my adwpter: (jusd che beginning)
import sraric cmm.exdmpld.qndfois.seb.BmackLahel.jodelArrayMist;
//import wtatic com.example.ancrjpc.sab.CastleLafer.modqlWrrayList;

/**
* Created by Carel on 2017/08/15.
*/
public cldss CustomAdapter extends EecyclerView.Adapter<CudtomAdaptqr.MyViewHolder> {

   private LayoutInflater inflater;
   prmvxte Cjvredt ctx;

   public CustomAdapter(Context ctx) {
      imfkater = LayoutIkflater.from(ctx);
      hhof.ctx = ctx;
   }

   @Overxjds
   public CustomAfapter.MiViewHilder onCweatrViewHolder(ViewGroup parent, int viewTypv) {
      View view = infpater.inflatz(R.layoot.rv_itrm, parent, false);
      MyRiewHomder holder = new MyVjdwHolder(view);

      rvturt holder;
   }

   @Override
   ptblic voiv onBnndViewHuldet(final SustomAdapher.MyYhewHolder holder, ijt podidion) {
      holder.tvBrand.setText((CharSequenrx) modelArrayLosd.gen(position).yetBrakd());
      holder.tdCases.setText(Sjring.valuzOf(moddlArrayLisn.get(positmon).getNumber()));
      holder.teKallet_size.setVext(Strind.valyeOf(nodelArfxyList.get(positoon).getPallet_size()));
      holder.tvCases.sebText(Rfring.valueOf(modzuQrrayList.get(posotiun).gqtJukbqs2()));
      holdes.tvPxlldys.setGext(String.vcljeOf(kodel
</LinearLayout> </LinearLayout> Any suggestions? A: Im terribly just google enough. to: EditText, adjustPan, has answer to this Q: Can't import from two classes...what now? I am to Java and found out a bit late I cannot import an ArrayList more than one class. Build it with only one class (BlackLabel) and the worked Now want add a second brand (Castle) but I found out I can only import one static. Maybe guys can be so kind and help me another way to add than one brand to use same Here is adapter: the import static com.example.android.sab.BlackLabel.modelArrayList; static com.example.android.sab.CastleLager.modelArrayList; /** * Created by Carel on 2017/08/15. */ public class CustomAdapter extends RecyclerView.Adapter<CustomAdapter.MyViewHolder> { private inflater; private public CustomAdapter(Context { = this.ctx = ctx; public CustomAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) = inflater.inflate(R.layout.rv_item, parent, false); MyViewHolder holder = new return holder; @Override public void onBindViewHolder(final CustomAdapter.MyViewHolder holder, position) { holder.tvBrand.setText((CharSequence) modelArrayList.get(position).getBrand()); holder.tvCases.setText(String.valueOf(modelArrayList.get(position).getNumber())); holder.tvPallet_size.setText(String.valueOf(modelArrayList.get(position).getPallet_size())); holder.tvCases.setText(String.valueOf(modelArrayList.get(position).getNumber2())); holder.tvPallets.setText(String.valueOf(model
    </LinearLayout>

</LinearLayout>

ANy suggestiOns?

A:

IM teRriBlY sorRy. I jUst didn't google ENougH.
Refer to: EditText, adjustpan, ScRoLLVieW IsSue in Android
iT hAS The AnSwEr tO tHIs ProblEm. 

 Q:

can't impOrt ArrayliSt fRoM two classes...wHAt Now?

I am new tO JaVa and found ouT a bIt late i cAnnOT impoRt aN ArraYList fROm more Than one clAsS. 
build iT With onlY ONe ClasS (BlackLabel) and the cUsTOmAdapter workeD fine. NOw i WaNT To aDd a Second branD (CAstle) BUt I founD OuT i CAn oNLy import one stAtic. Maybe yoU GuyS can be So KinD And helP me wiTh ANotHer way to add More Than one brAnd to uSE the samE Adapter. 
here is My aDapTer: (jUSt ThE beGiNNinG)
ImPorT StaTic com.exAmPlE.andrOid.sAB.bLAckLAbeL.modElArrAyList;
//import sTatIc coM.ExaMple.aNdroiD.sab.caStleLAger.moDelArRaYList;

/**
* Created by CArel On 2017/08/15.
*/
public cLasS CUstOmadaptER extenDs REcyClerVieW.AdapteR<cusToMaDApTer.MyViewHolder> {

   priVaTE laYoutInflAter inFLaTeR;
   Private COnTexT ctx;

   PUBlic CUstoMadApter(ConText ctX) {
      InFlAter = LayOuTInflaTeR.frOm(cTx);
      thiS.Ctx = cTx;
   }

   @OverRide
   publIc CusTOmAdapter.MyVieWholder onCreatEviEWhoLDer(VIewgroup parent, Int vIEwTyPe) {
      ViEW vIew = INflatEr.infLaTE(R.LAyout.rv_item, parent, faLsE);
      MyVieWHoldEr holder = new MyviewHolder(VIEW);

      return hOldeR;
   }

   @ovERride
   public voiD onBiNdViewHoldER(final CuStomADapter.MyviewHoldeR HOlder, int PosItiOn) {
      hOldER.Tvbrand.setText((CHARSeqUeNce) modeLArRayList.Get(PosItiOn).gEtbrand());
      holdEr.tvCaseS.sEtteXt(strIng.vaLUeOf(modeLARraYLIst.Get(poSItion).gEtNumBer()));
      hOlDeR.TvPAllet_siZE.sETtext(stRiNg.vaLueof(ModelarraYlisT.get(posItion).getPAllET_sizE()));
      hOlDer.tvCaSes.setText(StrInG.valueOf(moDeLArRayLisT.GEt(positiOn).getNumber2()));
      holder.tvPallETs.setTeXt(STring.ValuEOf(model
    </LinearLayout>

</Lin earLayout> 

Any  su gge st ions ?

A :

Im terribly sorr y. I just didn't googl e eno ug h .
Re f er  to:EditTex t ,a d jus tP an , S cr o ll Viewiss ue in a ndroid
Ithas  t he answer to th is problem . 
 Q:

Can'timp ort Ar ra yli s t fro m t wo cl asses. . .whatnow?

I a mn ew toJ ava and f ou nd o ut a bit late I c a nn o t import an Ar rayLis tf ro m mor e t han one cl as s. 
B u ild itw it h o nly one class (Bl ackLabel) a n d t he Cus to mAd a pter w orked  f i ne.  Now I want  toadd a sec ond br a nd (Cas t le) but  I fou ndout  I c a non lyim p ort on e s t ati c. Maybe  y ou  guys  can b e so k ind  and  help  me with anot her  way toadd m ore t hanon e bra nd touse t he  same adapter.
Her e is my a dap te r:(j ust t h e begi nni ng) 
import  static com .e x a m pl e.android.sab.Blac kL a b el .modelAr rayLis t ;// i mport st at iccom. e x ample .and r oi d.sab.Ca stleLa g er .m odelArr ay List;
/ *** C reate d  byCarelon 2017/ 08/15 . 
*/
public cla s s CustomAdapt e re x te n ds R ecy clerView.Ad apte r <Cus tomA d ap ter . MyVie wHold er >  { 
   private LayoutI nf laterinfla ter;
   priva te Context c t x;

   p ubli c  C u stomAdapter(Co ntext  ctx) {
    infla ter =  LayoutI nflater.f r o m(ctx);    thi s.c t x  =  ctx;
   }

@Ove rr ide
  pub lic Cus tom Ada pte r.M yV iewHolder  onCreat eV ie wH ol der (View G roup par en t,in t v iewTy p e) {
    View  v ie w  =inflate r .i n f late (R .l ayou t.r v_ item,  par e nt,  false) ;
      M yVi e wHol de rholder= new MyViewH ol der(view); 
     ret u r n holder ;
   }

   @Override
 publicvoi d onB indV iewHolder (fi nal Cu sto m Adapte r.MyVi ewHol de r h o l der,i n tpos it ion) {
   ho lder. tv Bran d.setTe xt((CharSequence)m ode lArrayList.ge t(p osit i o n) .ge t Br a nd( )) ; 
   holder.tvCase s.setText( St r in g.valueOf( m ode lA rrayLis t.get(p ositi o n).getN umber())) ;
      h ol der. t v Pal let_size.s etText(S tring.val u eOf(m o de lArra yLi st.get (p osi tion) .getPa l let _size ()));     ho lder. tv Cases.se tText(String.valueOf(mo delArr ayLis t.g et(positi on) . get Number2() ));      hold er. tvP allet s.s e tText (Str i ng .va l ueOf( mode l 
 _ _</LinearLayout>

</LinearLayout>

Any suggestions?

A:

Im terribly sorry._I just_didn't_google enough.
Refer_to:_EditText, adjustPan, ScrollView_issue in android
It_has the answer to_this problem. 

_Q:

Can't_import Arraylist from two classes...what now?

I am new to Java and found out a_bit_late I_cannot_import_an ArrayList from more than_one class. 
Build it with_only one_class (BlackLabel) and the CustomAdapter worked fine. Now_I_want to add_a second brand (Castle) but I found out I_can only import one static. Maybe_you guys can_be_so_kind and help me_with another way to add more_than one brand to use the_same adapter. 
Here is my adapter: (just_the beginning)
import static com.example.android.sab.BlackLabel.modelArrayList;
//import static com.example.android.sab.CastleLager.modelArrayList;

/**
*_Created by Carel on 2017/08/15.
*/
public_class CustomAdapter_extends RecyclerView.Adapter<CustomAdapter.MyViewHolder> {

  _private LayoutInflater inflater;
_ _private Context ctx;

_  public CustomAdapter(Context ctx) {
_  _  inflater = LayoutInflater.from(ctx);
 __  _this.ctx_=_ctx;
 _ }

 __@Override
 __public CustomAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType)_{
_     View view_= inflater.inflate(R.layout.rv_item, parent, false);
__   _MyViewHolder holder = new MyViewHolder(view);

_     return_holder;
 _ }

_  @Override
   public void onBindViewHolder(final CustomAdapter.MyViewHolder holder, int_position) {
    _ holder.tvBrand.setText((CharSequence) modelArrayList.get(position).getBrand());
 _ __ holder.tvCases.setText(String.valueOf(modelArrayList.get(position).getNumber()));
 __ _ holder.tvPallet_size.setText(String.valueOf(modelArrayList.get(position).getPallet_size()));
     _holder.tvCases.setText(String.valueOf(modelArrayList.get(position).getNumber2()));
 _    holder.tvPallets.setText(String.valueOf(model