(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import 'package:firebase_messaging/firebase_messaging.dart'; | |
| class PushNotificationsManager { | |
| PushNotificationsManager._(); | |
| factory PushNotificationsManager() => _instance; | |
| static final PushNotificationsManager _instance = PushNotificationsManager._(); |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/bash | |
| cd /tmp | |
| apt-get update | |
| apt install -y libtool pkg-config build-essential autoconf automake uuid-dev git wget | |
| git clone git://github.com/jedisct1/libsodium.git | |
| cd libsodium/ | |
| ./autogen.sh | |
| ./configure && make check | |
| make install | |
| ldconfig |
Within an <ion-scroll>, this directive creates sticky item headers that get bumped out of the way by the next item.
Demo: http://cl.ly/2u2X390s0H1a
Requirements:
_.throttle utility.or