Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Return toast object in toast helper functions. #511

Closed
wants to merge 3 commits into from

Conversation

kizitonwose
Copy link
Contributor

The toast helper functions now return the Toast object so users can cancel if needed. Return types are explicitly specified because the platform toast functions are missing nullability annotations. This also fixes #504.

@kizitonwose kizitonwose deleted the return-toast-object branch November 21, 2017 10:28
@kizitonwose kizitonwose restored the return-toast-object branch November 21, 2017 10:29
@kizitonwose kizitonwose deleted the return-toast-object branch November 21, 2017 10:30
@kizitonwose
Copy link
Contributor Author

Closed this in favour of #512

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question] How to cancel previous toast using toast method from anko common?
1 participant