[SailfishDevel] How to show toast notification?

Bjoern Bidar theodorstormgrade at gmail.com
Wed Mar 4 02:29:29 UTC 2020


Hey,

I don't think toast notifications really fit into sailfish os.
A good replacement is a in app notification like when you can't send a message in the 
messages app or in storeman for bookmark.
Here is the qml source how storeman does this:
https://github.com/mentaljam/harbour-storeman/blob/
d9f44a6faf87ea648da82c76eff7bac1354668ad/qml/harbour-storeman.qml#L271[1] 

Greetings,

Björn


--------
[1] https://github.com/mentaljam/harbour-storeman/blob/
d9f44a6faf87ea648da82c76eff7bac1354668ad/qml/harbour-storeman.qml#L271
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20200304/f329fece/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20200304/f329fece/attachment.sig>


More information about the Devel mailing list