show Text on TextView - Android User Interface

Android examples for User Interface:TextView

Description

show Text on TextView

Demo Code


//package com.java2s;

import android.widget.TextView;

public class Main {
    public static void showText(final TextView textView, final String text) {
        if (textView != null) {
            textView.setText(text);/*from w w w .  j a v  a  2 s  .  c  o m*/
        }
    }
}

Related Tutorials