Answers for "how add model class to array list"

0

how add model class to array list

//main class
SomeClass b= new SomeClass();
list.add(b);

//subclass
 Home.MainCategory mainCategory = new Home().getInstranceMainCategory();
                mainCategory.mainCatName = getString(R.string.more);
                mainCategoryList.add(mainCategory);
Posted by: Guest on November-07-2020

Browse Popular Code Answers by Language