Skip to content

Commit

Permalink
Update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
kirich1409 committed May 28, 2022
1 parent 9853c0b commit 599eb89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import by.kirich1409.viewbindingdelegate.viewBinding

class ProfileActivity : AppCompatActivity() {

private val viewBindingUsingReflection: ActivityProfileBinding by viewBinding(CreateMethod.INFLATE)
private val viewBinding: ActivityProfileBinding by viewBinding(CreateMethod.INFLATE)

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(viewBindingUsingReflection.root)
setContentView(viewBinding.root)
}
}

0 comments on commit 599eb89

Please sign in to comment.