Last active
September 5, 2020 21:38
-
-
Save arkivanov/b52302b095fa2d1c30c9b55ecca0d7e1 to your computer and use it in GitHub Desktop.
The defective AndroidX FragmentFactory - UserFragment1
This file contains 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
class UserFragment : Fragment() { | |
private lateinit var userId: String | |
private lateinit var userRepository: UserRepository | |
} | |
interface UserRepository { | |
fun loadUser(id: String): User | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment