Skip to content

Instantly share code, notes, and snippets.

Avatar

Leonardo Ferrari leonardo2204

View GitHub Profile
@leonardo2204
leonardo2204 / TextInputLayoutClearable.java
Created Feb 3, 2016
TextInputLayoutClearable. When an error is shown, if user starts typing, the error is automatically cleared.
View TextInputLayoutClearable.java
package com.lukaspili.mortardemo.ui.custom;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.design.widget.TextInputLayout;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.AttributeSet;
/**
You can’t perform that action at this time.