Example #1
0
 public void error() {
   if (!mInflated) {
     mToastCanceled = true;
     return;
   }
   mView.error();
   slideUp();
 }
Example #2
0
 public void success() {
   if (!mInflated) {
     mToastCanceled = true;
     return;
   }
   mView.success();
   slideUp();
 }