alex.hart
07/16/2019, 4:58 PMkpgalligan
07/16/2019, 5:06 PMrusshwolf
07/16/2019, 5:16 PMexpect class MyDependency
in common and in Android it might be actual class MyDependency(context: Context)
and in iOS actual class MyDependency()
. Then your common code can take a MyDependency
parameter and your Android code can read the context out of it where necessaryian.shaun.thomas
07/16/2019, 5:36 PMlouiscad
07/16/2019, 11:42 PMappCtx
from my little library Splitties App Context, as you only need application context for this use case.Sergioedcigreja
07/17/2019, 8:22 AMciriti
07/17/2019, 7:45 PMkpgalligan
07/17/2019, 7:46 PMciriti
07/17/2019, 7:47 PM