<divclass="content sourceset-dependent-content"data-active=""data-togglable=":micro_utils.dokka:dokkaHtml/androidMain"><divclass="symbol monospace"><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="versions-key-value-repo.html">T</a><spanclass="token operator">></span><ahref="https://developer.android.com/reference/kotlin/android/content/Context.html">Context</a><spanclass="token punctuation">.</span><ahref="versions-key-value-repo.html"><spanclass="token function">versionsKeyValueRepo</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">database<spanclass="token operator">: </span><ahref="versions-key-value-repo.html">T</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="-versions-repo/index.html">VersionsRepo</a><spanclass="token operator"><</span><ahref="versions-key-value-repo.html">T</a><spanclass="token operator">></span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/MicroUtils/blob/master//repos/common/src/androidMain/kotlin/dev/inmo/micro_utils/repos/versions/AndroidSharedPreferencesStandardVersionsRepoProxy.kt#L18">source</a>)</span></span></div><pclass="paragraph">Will create <ahref="-versions-repo/index.html">VersionsRepo</a> based on <ahref="versions-key-value-repo.html">T</a>, but versions will be stored in <ahref="../dev.inmo.micro_utils.repos/-key-value-repo/index.html">KeyValueRepo</a></p><spanclass="kdoc-tag"><h4class="">Receiver</h4><pclass="paragraph">Will be used to create <ahref="-key-value-based-versions-repo-proxy/index.html">KeyValueBasedVersionsRepoProxy</a> via <ahref="../dev.inmo.micro_utils.repos.keyvalue/key-value-store.html">keyValueStore</a> and pass it to <ahref="-standard-versions-repo/index.html">StandardVersionsRepo</a></p></span><h4class="">See also</h4><divclass="table"><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/androidMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/androidMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="-key-value-based-versions-repo-proxy/index.html"><span>Key</span><wbr></wbr><span>Value</span><wbr></wbr><span>Based</span><wbr></wbr><span>Versions</span><wbr></wbr><span>Repo</span><wbr></wbr><span><span>Proxy</span></span></a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":micro_utils.dokka:dokkaHtml/androidMain"data-filterable-set=":micro_utils.dokka:dokkaHtml/androidMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../dev.inmo.micro_utils.repos.keyvalue/key-value-store.html"><span>key</span><wbr></wbr><span>Value</span><wbr></wbr><span><span>Store</span></span></a></div></span></div><div></div></div></div></div></div></div>