简体   繁体   中英

Gluon Mobile information message like Android Toast

Is it possible to show a message, in a platform independent way, like what in Android would be a Toast? If not, what would a good way to create similar functionality?

The closest thing in Gluon Mobile to the Android Toast control is the SnackbarPopupView . The easiest way to do this, is to use the snackbar popup view that is built in into MobileApplication :

MobileApplication.getInstance().showMessage("Hi There!");

We are planning to add Toast functionality as well in a future release.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM