Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.widget.TextView;

public class Main {
    /**
     * Returns the enabled state a {@link TextView}.
     *
     * @param textview   text view instance
     * @return  {@code true} for enabled, {@code false} disabled
     */
    public static boolean isEnabled(TextView textview) {
        return textview.isEnabled();
    }
}