TastyToast
TastyToast copied to clipboard
:bread: Make your native android Toasts Tasty
This pr creates enum for toast type parameter so now , TastyToast.CONFUSING ...etc would be changed to TastyToast.Type.Confusing ...etc
startanim() method shifted to onSizeChanged() method. Solves issue #21
完善建议
建议修改吐司为静态吐司 在TastyToast类中修改 代码如下: static Toast toast = null; //Toast的对象! public static Toast makeText(Context context, String msg, int length, int type) { if (toast==null) { toast= new Toast(context); } 替换原此位置代码即可
change left to start for RTL better support. bump up gradle dependencies version to the latest.
it always gets stuck for a while
This pr aims to add a new color parameter , so now user will have a flexibility of choosing his own color.
It would be better to use enum for toast type , storing them as integer seems to be a bad practice .
My application is RTL and TastyToast has problem in showing message! You can see it on this image. 
Re factor code in TastyToast to add inheritance of all view from a single class ToastView.
it would be more cool if u add feature to positioning the toast..