Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ArrayList<String> convertTypeToArrayListString() {
- List<BusinessModel> list = getIntent().getExtras().getParcelableArrayList("infos");
- ArrayList<String> array = new ArrayList<String>();
- //ArrayList<BusinessModel> arrayListBusinessModel = new ArrayList<BusinessModel>();
- for(int i=0;i<list.size();i++) {
- array.add(list.get(i).getName());
- }
- return array;
- }
Advertisement
Add Comment
Please, Sign In to add comment