title: How to implement Datastore in java based android app?
body: <p>I can only find ways to implement datastore through Kotlin. I have tried creating it with
  <code>DataStore&lt;Preferences&gt; datastore = new Datastore&lt;Preferences&gt;</code> but as soon as proceed with it, it overrides to methods namely save and loadData but the parameters passed in them are also in Kotlin. Should I proceed with Sharedpreferences only?</p>