I have a Car class which extends Vehicle class, i will be injecting some properties in the vehicle class.
Example EDITED
abstract class Vehicle {
@Inject
lateinit var default: Default
}
class Car @Inject constructor(): Vehicle() {
}
In my code everything works fine,
But one thing i need to know is that how the dagger injects the properties in base class or its hierarchy?
is this the proper way of injecting?
can anyone clarify this?