Skip to content

Commit

Permalink
Clean and rearrange codes
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed May 15, 2021
1 parent c47e347 commit b324008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/skydoves/chamberdemo/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MainActivity : AppCompatActivity() {

val binding = ActivityMainBinding.inflate(layoutInflater)
setContentView(binding.root)

Chamber.shareLifecycle(scopeOwner = viewModel, lifecycleOwner = this)

viewModel.username.observe { Log.d("MainActivity", "observed data: $it") }
Expand Down

0 comments on commit b324008

Please sign in to comment.