Example usage for android.widget TextView getFilters

List of usage examples for android.widget TextView getFilters

Introduction

In this page you can find the example usage for android.widget TextView getFilters.

Prototype

public InputFilter[] getFilters() 

Source Link

Document

Returns the current list of input filters.

Usage

From source file:Main.java

public static void addLengthFilter(TextView tv, int length) {
    tv.setFilters(createLengthFilter(tv.getFilters(), length));
}