I have a List view with two EditText in and want to modify the problem is that I'm working it from a fregment and I only onCreateView to work
could help me?
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
    rootView = inflater.inflate(R.layout.calcu, container, false);
    c = getActivity().getApplicationContext();
    lista = (ListView) rootView.findViewById(R.id.listView1);
    lista.setAdapter(adapter);
            cantidad = (EditText) rootView.findViewById(R.id.cantidad);
            precio = (EditText) rootView.findViewById(R.id.precio);
            id = (TextView) rootView.findViewById(R.id.id);
            // how to get the position of the selected EditText to access him
            position( X ) cantidad.getText().toString(); 
            position( X ) precio.getText().toString();
    return rootView;
}
