Last active
November 20, 2020 16:41
-
-
Save psteiger/0cdecebd424bca81e332100c83f80c64 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
@AndroidEntryPoint | |
class NearbyUsersActivity : AppCompatActivity() { | |
private val viewModel: NearbyUsersViewModel by viewModels() | |
override fun onCreate(savedInstanceState: Bundle?) { | |
viewModel.locations.observe(this) { state: State -> | |
// Update views with the data. | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment