Try:
Toast.makeText(getBaseContext(), "Reason can not be blank", Toast.LENGTH_SHORT).show();
It’s the .show() that you’ve omitted everywhere that causes all your toasts to instatiate, but never execute.
More Related Contents:
- Update ViewPager dynamically?
- How do I get the currently displayed fragment?
- Get Android Phone Model programmatically , How to get Device name and model programmatically in android?
- Gradle Implementation vs API configuration
- How to sign an android apk file
- How to create EditText with rounded corners?
- How to handle Handler messages when activity/fragment is paused
- Animated Icon for ActionItem
- Android Studio 3.1 “Run” not compiling code
- How do I make an http request using cookies on flutter?
- ViewPager in a NestedScrollView
- Cannot resolve symbol ‘AppCompatActivity’
- Firebase Admin SDK for Android, methods not found
- Selected tab’s color in Bottom Navigation View
- Android SDK cannot be found by flutter
- Difference between extending LifecycleActivity,Activity,ActionbarActivity & AppCompactActivity?
- Android Alternate row Colors in ListView
- Android: What is android.R.id.content used for?
- Android : How to detect the image orientation (portrait or landscape) picked from gallery while setting on an imageview?
- Getting the battery current values for the Android Phone
- How to make Proguard ignore external libraries?
- How to create Drawable from resource
- error: Error parsing XML: not well-formed (invalid token) …?
- Access the SIM Card with an Android Application?
- Android unit test not mocked
- can’t generate signed APK from Android studio “Execution failed for task ‘:packageRelease'”
- How to place an imageview on top of another imageview in android
- How to get the graphical layout Window back in Eclipse for Android Application Design?
- Android Multiple YouTube Videos in Activity
- To run dex in process, the Gradle daemon needs a larger heap. It currently has approximately 910 MB