Closed herou closed 6 years ago
//I found the solution :) .clicked(R.id.textView_add, new View.OnClickListener() { @Override public void onClick(View v) { TextView txt = (TextView) v; Toast.makeText(getApplicationContext(),""+txt.getText().toString(),Toast.LENGTH_LONG).show(); } });
Hello.
I was wondering to get the value of textview once clicked , for ex : textview.getText().toString() ?