title: textinputlayout errorenabled and showing errors
body: <p>So I have login form, when user click login I will check the inputs.</p>
  
  <p>First what I do, onlick of login button i call <code>textinputlayout.seterrorenabled(false)</code>, then when API call is over and I have an error on my editttext i call <code>textinputlayout.seterrorenabled(true)</code>, <code>textinputlayout.seterror(message)</code>. Everything is all good, now I click on login again and repeat same process <code>textinputlayout.seterrorenabled(false)</code> and then after API call is over <code>textinputlayout.seterrorenabled(true)</code>, <code>textinputlayout.seterror(message)</code>. However this time the message doesn't show up. What's the problem?</p>
  
  <pre><code>          &lt;android.support.design.widget.TextInputLayout
                  android:id="@+id/usernameField1"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"&gt;
                  &lt;EditText
                      android:id="@+id/usernameField"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/user_name"
                      android:textColorHint="#808080"
                      android:paddingBottom="@dimen/tendp"
                      android:paddingLeft="@dimen/tendp"
                      android:paddingRight="@dimen/tendp"
                      android:paddingTop="@dimen/tendp"
                      android:textSize="@dimen/textSize" /&gt;
              &lt;/android.support.design.widget.TextInputLayout&gt;
              &lt;android.support.design.widget.TextInputLayout
                  android:id="@+id/passwordField1"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"&gt;
                  &lt;EditText
                      android:id="@+id/passwordField"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/password"
                      android:textColorHint="#808080"
                      android:paddingBottom="@dimen/tendp"
                      android:inputType="textPassword"
                      android:paddingLeft="@dimen/tendp"
                      android:paddingRight="@dimen/tendp"
                      android:paddingTop="@dimen/tendp"
                      android:textSize="@dimen/textSize" /&gt;
              &lt;/android.support.design.widget.TextInputLayout&gt;
                  &lt;Button
                      android:id="@+id/login"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_gravity="center"
                      android:gravity="center"
                      android:background="?attr/selectableItemBackground"
                      android:text="@string/login"
                      android:visibility="gone"
                      android:textColor="@android:color/white"
                      android:textSize="@dimen/textSize" &gt;
                  &lt;/Button&gt;
  
  
  
    final Button login =  (Button) findViewById(R.id.login);
      //  login.setOnClickListener(new OnClickListener() {
  
          login.setOnClickListener(here i set my textinputlayout to errorenabled false or seterror null // start an asynctask 
  
  
  
    here in asynctask onpostexecute i set the errorenabled(true) and set error( the message)
  </code></pre>