Android TextView Get checkTextView(TextView textView)

Here you can find the source of checkTextView(TextView textView)

Description

check Text View

Declaration

public static String checkTextView(TextView textView) 

Method Source Code

//package com.java2s;

import android.widget.TextView;

public class Main {

    public static String checkTextView(TextView textView) {
        if (textView != null && !textView.getText().toString().equals("")) {
            return textView.getText().toString();
        } else {//from   ww w .j a  v  a  2s. c o m
            return "";
        }
    }
}

Related

  1. getText(TextView textView)
  2. getText(TextView textView)
  3. getDouble(TextView view)
  4. getNumber(TextView view)