<commit_before>package teammemes.tritonbudget;

import teammemes.tritonbudget.db.TranHistory;
import java.util.ArrayList;

import android.view.View;
import android.view.ViewGroup;
import android.view.LayoutInflater;

import android.content.Context;

import android.widget.ArrayAdapter;
import android.widget.TextView;

import org.w3c.dom.Text;

/**
 * Created by <NAME> on 3/6/17.
 * Custom ArrayAdapter for members of checkout
 */

public class Checkout_Adapter extends ArrayAdapter<TranHistory>{
    public Checkout_Adapter(Context context, ArrayList<TranHistory> Item_Object) {
        super(context, 0, Item_Object);
    }

    public View getView(int position, View conView, ViewGroup ItemsGrouping) {

        //retrieve the data for food_item at certain position
        TranHistory item = getItem(position);

        if (conView == null) {
            conView = LayoutInflater.from(getContext()).inflate(R.layout.content_checkout, ItemsGrouping, false);
        }

        //go into xml files and change id names

        TextView itemName = (TextView) conView.findViewById(R.id.COItemName);<commit_msg>Update Checkout_Adapter.java<commit_after>package teammemes.tritonbudget;

import teammemes.tritonbudget.db.TranHistory;
import java.util.ArrayList;

import android.view.View;
import android.view.ViewGroup;
import android.view.LayoutInflater;

import android.content.Context;

import android.widget.ArrayAdapter;
import android.widget.TextView;

import org.w3c.dom.Text;

/**
 * Created by <NAME> on 3/6/17.
 * Custom ArrayAdapter for members of checkout
 */

public class Checkout_Adapter extends ArrayAdapter<TranHistory>{
    public Checkout_Adapter(Context context, ArrayList<TranHistory> Item_Object) {
        super(context, 0, Item_Object);
    }

    @Override
    public View getView(int position, View conView, ViewGroup ItemsGrouping) {

        //retrieve the data for food_item at certain position
        TranHistory item = getItem(position);

        if (conView == null) {
            conView = LayoutInflater.from(getContext()).inflate(R.layout.content_checkout, ItemsGrouping, false);
        }

        //go into xml files and change id names

        TextView itemName = (TextView) conView.findViewById(R.id.COItemName);
{'fraction_non_alphanumeric': 0.09240337627721013, 'fraction_numerical': 0.0053309640159928924, 'mean_word_length': 3.8956521739130436, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6438747', 'n_tokens_mistral': 679, 'n_tokens_neox': 642, 'n_words': 165}