1

Repeated text in the TextView to the pressure of the Button

view story
linux-howto

http://stackoverflow.com – I have this code that is executed at the touch of a Button. Button myButton = (Button) view.findViewById(R.id.button01); myButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { class = new MyClass(); class.Method(); if(class.Method()) { TextView.append(Html.fromHtml((getString(R.string.text01)))); } else { TextView.append(Html.fromHtml((getString(R.string.text02)))); } try { if (class.Method2() && (class.Method3())) { TextView.append(Html.fromHtml((getString(R.string.text03)))); (HowTos)