Is there an adapter that provides data to a Spinne...
# android
l
Is there an adapter that provides data to a Spinner that doesn't require a Context? Seems like the adapter should live in the ViewModel, which can't contain a Context.
l
You can access the applicationContext everywhere: https://github.com/LouisCAD/Splitties/blob/master/appctx/README.md