Back to project page octodroid.
The source code is released under:
MIT License
If you think the Android project octodroid 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.example.octodroid.views.helpers; //from w ww .j a v a 2 s .co m import android.content.Context; import android.widget.Toast; import com.example.octodroid.R; public class ToastHelper { public static void showError(Context context) { Toast.makeText(context, R.string.error, Toast.LENGTH_SHORT).show(); } public static void showLoginFailed(Context context) { Toast.makeText(context, R.string.login_failed, Toast.LENGTH_SHORT).show(); } }