Back to project page filemanager.
The source code is released under:
MIT License
If you think the Android project filemanager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.binkery.app.filemanager.utils; /*from www . j a va 2s . co m*/ import android.content.Context; import android.widget.Toast; public final class ToastUtils { public static final void show(Context context, String message) { Toast.makeText(context, message, Toast.LENGTH_LONG).show(); } public static final void show(Context context, int resId) { Toast.makeText(context, resId, Toast.LENGTH_LONG).show(); } public static final void showShort(Context context, int resId) { Toast.makeText(context, resId, Toast.LENGTH_SHORT).show(); } public static final void showShort(Context context, String message) { Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); } }