I want when I checked on check box the code returns string of text view that's in the same row only.

I'm using LayoutInflater and another class which has code for creating list containing strings.

My code : 

```
 public class InteractiveArrayAdapter extends ArrayAdapter<model> {

private final List<model> list;
  private final Activity context;

  public InteractiveArrayAdapter(Activity context, List<model> list) {
    super(context, R.layout.rep, list);
    this.context = context;
    this.list = list;

  }

  static class ViewHolder {
        protected TextView text;
        protected CheckBox checkbox;
      }

  public View getView(int position, View convertView, ViewGroup parent) {
        View view = null;
        if (convertView == null) {
          LayoutInflater inflator = context.getLayoutInflater();
          view = inflator.inflate(R.layout.rep, null);
          final ViewHolder viewHolder = new ViewHolder();
          viewHolder.text = (TextView) view.findViewById(R.id.TextView07);
          viewHolder.checkbox = (CheckBox) view.findViewById(R.id.CheckBox05);
          viewHolder.checkbox
              .setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {

                @Override
                public void onCheckedChanged(CompoundButton buttonView,
                    boolean isChecked) {
                  model element = (model) viewHolder.checkbox
                      .getTag();
                  element.setSelected(buttonView.isChecked());

                }
              });
          view.setTag(viewHolder);
          viewHolder.checkbox.setTag(list.get(position));
        } else {
          view = convertView;
          ((ViewHolder) view.getTag()).checkbox.setTag(list.get(position));
        }
        ViewHolder holder = (ViewHolder) view.getTag();
        holder.text.setText(list.get(position).getName());
        holder.checkbox.setChecked(list.get(position).isSelected());
        return view;

      }
}

```

my xml :

```
  <?xml version="1.0" encoding="utf-8"?>
  <AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<TableLayout
android:id="@+id/h103"
android:layout_width="match_parent"
android:layout_height="27dp"
android:layout_x="0dp"
android:layout_y="0dp"
android:background="@drawable/back1" >

<TableRow
    android:id="@+id/TableRow05"
    android:layout_width="match_parent"
    android:layout_height="27dp"
    android:layout_marginTop="4dp" >

    <CheckBox
        android:id="@+id/CheckBox05"
        android:layout_width="20dp"
        android:layout_height="20dp"
        android:layout_marginLeft="20dp"
        android:layout_marginTop="-4dp"
        android:button="@drawable/test" />

    <TextView
        android:id="@+id/TextView07"
        android:layout_width="220dp"
        android:layout_height="22dp"
        android:layout_marginLeft="23dp"
        android:layout_marginTop="-6dp"
        android:text="" />

    <TextView
        android:id="@+id/TextView08"
        android:layout_width="110dp"
        android:layout_height="22dp"
        android:layout_marginLeft="0dp"
        android:layout_marginTop="-4dp"
        android:text="095110263" />

</TableRow>

</TableLayout>

</AbsoluteLayout>

```