android realm : Restoring realm DB from backup file
<p>I'm working on a note app with realm. I'd like to add backup and restore features. So I've been implementing these features as introduced in <a href="https://medium.com/glucosio-project/example-class-to-export-import-a-realm-database-on-android-c429ade2b4ed#.amvufub54" rel="nofollow">this page</a>. Here is the user scenario.</p>

<ol>
<li>When an user click Backup button, back up default.realm to temp.realm</li>
<li>And an user click restore button, replace default.reaml to temp.realm.</li>
<li>Reload data and display with new data(replaced default.realm file).</li>
</ol>

<p>It works well if I restart my application. But I want to refresh new data immediately. If I did not restart my application, it works weird. So my question is how can i reload restored realm db so that display restored data without application restarting.</p>