@@ -0,0 +1,1252 @@
+package com.andela.webservice;%0A%0Aimport android.app.Activity;%0Aimport android.content.Context;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.ArrayAdapter;%0Aimport android.widget.TextView;%0A%0Aimport com.andela.webservice.model.Flower;%0A%0Aimport java.util.List;%0A%0A/**%0A * Created by Spykins on 11/06/16.%0A */%0Apublic class FlowerAdapter extends ArrayAdapter%3CFlower%3E %7B%0A    private Context context;%0A    @SuppressWarnings(%22unused%22)%0A    private List%3CFlower%3E flowerList;%0A%0A    public FlowerAdapter(Context context, int resource, List%3CFlower%3E objects) %7B%0A        super(context, resource, objects);%0A        this.context = context;%0A        this.flowerList = objects;%0A    %7D%0A%0A    @Override%0A    public View getView(int position, View convertView, ViewGroup parent) %7B%0A%0A        LayoutInflater inflater =%0A                (LayoutInflater) context.getSystemService(Activity.LAYOUT_INFLATER_SERVICE);%0A        View view = inflater.inflate(R.layout.item_flower, parent, false);%0A%0A        //Display flower name in the TextView widget%0A        Flower flower = flowerList.get(position);%0A        TextView tv = (TextView) view.findViewById(R.id.textView1);%0A        tv.setText(flower.getName());%0A        return view;%0A    %7D%0A%7D%0A

Create an Adapter class for the ListView