How to control other view in different activity? : I have created the customAdapter of listview  . when I click the button in the listview ,I want to control the Textview outside the listview from different layout. Notice ! There are not in the same java code.

here is i want to do:



            viewHolder.plus.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                
                TextView tx=(TextView) txt.findViewById(R.id.moneytext);
                  //find the textview outside listview (now In the same java code and xml)

                totalmoney= (Integer.parseInt(tx.getText().toString()))+(Integer.parseInt(price[position])); 
                 //get the textview integer and add to my present number

                tx.setText(""+totalmoney);
                 //post on the textview

            }
        });

