title: How to truncate all tables in realm android
body: <p>Hi im trying to truncateall tables in android when a user logs out. im using realms default path only.</p>
  
  <pre><code>realm = Realm.getInstance(getApplicationContext());
  
  public void clearDB() {
      Realm.deleteRealmFile(instance);
  }
  </code></pre>