Last active
October 4, 2020 10:07
-
-
Save catalinghita8/bca05d171d97f05fe0efbda8480d8bd9 to your computer and use it in GitHub Desktop.
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
| data class UserProfile( | |
| val name: String, | |
| val profilePictureDrawableId: Int, | |
| val lastActivityMinutes: Int, | |
| val isOnline: Boolean | |
| ) { | |
| companion object { | |
| fun getMockProfileUser() = UserProfile("Catalin Ghita", | |
| R.drawable.profile_pic, | |
| 2, | |
| true) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment