br>replicator.bindToLifecycle(ProcessLifecycleOwner.get().lifecycle)</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">// Binds the Replicator to the Activity/Fragment lifecycle.<br>// inside an Activity or Fragment...<br>override fun onCreate(savedInstanceState: 