Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Sample @Inject constructor() {
- fun sayHello() {
- Log.d(this::class.java.simpleName, "Hello Dagger!")
- }
- }
- ...
- @Inject
- lateinit var sample: Sample
- fun main() {
- sample.sayHello()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement