-
Notifications
You must be signed in to change notification settings - Fork 500
Super toast does not keep showing when i finish the activity #117
Comments
Please create superToast (not superActivityToast) in the class of Application which is independent of activity. |
Thank you. that solve my problem... |
Try to clear project,and rebuild it. |
in your module-level build.gradle file, set your targetSdk to 25, then you get compatibility mode for SDK 26 and it works again not how this should be handled, but it works for sdk 26 |
Do not set manually in your build.gradle file, try to set version of Comple and Build in "Build menu" as follow: |
Compile Sdk Version and Build Tools Version are not the same as targetSdk Either way, use the platform toasts instead, they provide the same functionality and work out of the box without adding another dependency |
targetSdk is a compatibility declare, if targetSdk version is same as (or higher than ) Version of Compile Sdk , then app ignores compatibility. Otherwise, if API Sdk is too low, then error in "java.lang.VerifyError". |
SuperToast provides some cool functionalities which the platform toasts has not. |
how to keep showing super toast even when i start a new activity
The text was updated successfully, but these errors were encountered: