Alberto
08/10/2020, 4:28 PMrusshwolf
08/10/2020, 5:01 PMSqlDriver
and Settings
), and there's a dummy AppInfo
class to demonstrate more explicitly. That one doesn't pass a context on the Android side but it easily couldrusshwolf
08/10/2020, 5:02 PMAlberto
08/10/2020, 7:22 PMAlberto
08/10/2020, 7:51 PMrusshwolf
08/10/2020, 7:57 PMContext
input that iOS doesn't. And in that case having separate per-platform implementations (or even just separate constructors or factory methods) is usually enoughrusshwolf
08/10/2020, 7:57 PMContext
from common code, because I've usually already given it to the things that need it at construction timeAlberto
08/10/2020, 8:02 PMrusshwolf
08/10/2020, 8:08 PMAlberto
08/10/2020, 8:21 PMrusshwolf
08/10/2020, 8:44 PMAlberto
08/10/2020, 8:45 PM