title: Access application context in companion object in kotlin
body: <p>How can we access application context inside companion object in Android kotlin?
  I have a companion object inside an abstract class and I want to access context to read Shared Preferences, but I'm not able to get the context.</p>
  
  <p><strong>UPDATE:</strong> I'm working with this stuff in an Android library and also the class that I'm working in is abstract</p>