You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, you are right about the local specific context but if Kite can provide applicationContext than it will save us from taking our own static variable for applicationContext.
So I think Kite.applicationContext this might be a good feature request.
And we also won't need to manage both static variable applicationContext + Kite.cahangeContext in case of Locale or theme update.
I believe that making context public does not bring clarity/usefulness overall, but instead gives developers one more thing to think about. Kite is simple, and made to be simple, so as long as the project mission does not change context is going to stay private.
Plus, it makes more sense for someone who does not use/know about kite but reads code who uses kite where the context is actually from.
Why keep context variable private?
It would be helpful if we can also access the current context from Kite just like resources.
Like :
Kite.context and Kite.applicationContext
The text was updated successfully, but these errors were encountered: