Created
September 14, 2024 03:44
-
-
Save fergdev/76fd9d0c7e07c5b842ed5bb1e9a097ee to your computer and use it in GitHub Desktop.
Expect actual mobileModule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// commonMain | |
expect val dataRepository: IDataRepository | |
// mobileMain | |
actual val dataRepository: IDataRepository = object : IDataRepository { | |
// Room and DataStore logic here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment