Toast
Default
Day | Night |
---|---|
Installation
Backpack Android is available through Maven Central. Check the main Readme for a complete installation guide.
Usage
NOTE: This component is deprecated. Please replace it with BpkFloatingNotification from backpack-compose.
The Toast component can be used in Kotlin/Java
import net.skyscanner.backpack.toast.BpkToast
BpkToast.makeText(context, "Message", BpkToast.LENGTH_SHORT).show()
The fonts will be applied globally from the current theme. Check theming for more information.