Using search in inflator
<p>i have row which  inflate and it has 2 text views and one check box, i want when user enter any text and edittext1 the all textiles got filtered correctly .</p>

<p>note : i use second class has get and set method for List Array strings </p>

<p>my class code : </p>

<pre><code>import javafx.scene.control.CheckBox;
import oracle.net.aso.h;

import java.util.ArrayList;

public class InteractiveArrayAdapter extends ArrayAdapter&lt;Student&gt; {
    final String NAMESPACE = "http://ws.sams.com";
    String URL = "http://192.168.1.108:8088/samsWS/services/InsertDataWS?WSDL"; // usint localhost
    final String METHOD_NAME = "insertApsentData";
    final String SOAP_ACTION = "http://ws.sams.com/insertApsentData";

    List&lt;Integer&gt; checkBoxState = new ArrayList&lt;Integer&gt;(200);
    private final List&lt;Student&gt; StudentNamesList; // for the student names .
    private final List&lt;Student&gt; StudentIdsList; // for the student ids . 
    private final Activity context;


    public InteractiveArrayAdapter(Activity context, List&lt;Student&gt; StudentNamesList, List&lt;Student&gt; StudentIdsList) {
        super(context, R.layout.activity_list, StudentNamesList);
        this.context = context;
        this.StudentNamesList = StudentNamesList;
        this.StudentIdsList = StudentIdsList;
    }

    protected Button h;

    class ViewHolder {
        protected TextView StudentName;
        protected TextView StudentId;
        protected CheckBox checkbox;
        protected TableRow row;
    }

    public View getView(final int position, View convertView, ViewGroup parent) {
        View view = null;
        if (convertView == null) {
            LayoutInflater inflator = context.getLayoutInflater();
            view = inflator.inflate(R.layout.rep, null);
            ViewHolder viewHolder = new ViewHolder();
            viewHolder.StudentName = (TextView) view.findViewById(R.id.TextView07);
            viewHolder.StudentId = (TextView) view.findViewById(R.id.TextView08);
            viewHolder.checkbox = (CheckBox) view.findViewById(R.id.CheckBox05);
            viewHolder.row = (TableRow) view.findViewById(R.id.TableRow05);

            oracle.net.aso.h = (Button) context.findViewById(R.id.tableclassbtn);

            view.setTag(viewHolder);
            viewHolder.row.setTag(StudentNamesList.get(position)); //here note 
            viewHolder.checkbox.setTag(StudentNamesList.get(position));
        } else {
            view = convertView;
            ((ViewHolder) view.getTag()).checkbox.setTag(StudentNamesList.get(position));
            ((ViewHolder) view.getTag()).row.setTag(StudentNamesList.get(position));
        }

        final ViewHolder holder = (ViewHolder) view.getTag();
        holder.StudentName.setText(StudentNamesList.get(position).getName());
        holder.StudentId.setText(StudentIdsList.get(position).getName());
        holder.checkbox.setChecked(StudentNamesList.get(position).isSelected());


        // When CheckBox on Any row Clicked 
        holder.checkbox.setOnCheckedChangeListener(new OnCheckedChangeListener() {

            @Override
            public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {


                ((Student) holder.checkbox.getTag()).setSelected(true);

                // Toast.makeText(context,   holder.text.getText().toString() , Toast.LENGTH_SHORT).show();
                if (((CheckBox) holder.checkbox).isChecked()) {
                    ViewGroup row1 = (ViewGroup) holder.checkbox.getParent();

                    // for (int itemPos = 1; itemPos &lt; ((ViewGroup) row1).getChildCount(); itemPos++) {

                    View view1 = ((ViewGroup) row1).getChildAt(2);
                    if (view1 instanceof TextView) {

                        holder.StudentName = (TextView) view1;


                        checkBoxState.add(Integer.parseInt(holder.StudentName.getText().toString()));
                    } else {
                        checkBoxState.add(1);
                    }


                }


            }
        });


        h.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {
                for (int i = 0; i &lt; checkBoxState.size(); i++) {

                    Toast.makeText(context, checkBoxState.get(i).toString(), Toast.LENGTH_SHORT).show();

                    // For webservice propose 


                    try {

                        SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
                        PropertyInfo pi = new PropertyInfo();
                        pi.setName("SID");
                        pi.setValue(Integer.parseInt(checkBoxState.get(i).toString()));
                        pi.setType(Integer.class);

                        SharedPreferences mPrefs = context.getSharedPreferences("ITeacher", 0);
                        int str1 = mPrefs.getInt("1", 0);

                        PropertyInfo pi2 = new PropertyInfo();
                        pi2.setName("TID");
                        pi2.setValue(str1);
                        pi2.setType(Integer.class);


                        request.addProperty(pi);
                        request.addProperty(pi2);
                        final SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
                        envelope.setOutputSoapObject(request);
                        final HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
                        androidHttpTransport.call(SOAP_ACTION, envelope);

                    } catch (Exception e) {
                    }
                }
            }

        });


        holder.row.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(context, "hhh", Toast.LENGTH_SHORT).show();

                ViewGroup row1 = (ViewGroup) holder.row;

                for (int itemPos = 1; itemPos &lt; ((ViewGroup) row1).getChildCount(); itemPos++) {
                    View view1 = ((ViewGroup) row1).getChildAt(itemPos);
                    if (view1 instanceof CheckBox) {
                        ((Checkable) checkBoxState).setChecked(true);

                    }
                }

            }
        });
        return view;

    }
}
</code></pre>
