lawlorslaw
06/26/2020, 3:56 PMerror: [Dagger/MissingBinding] java.lang.String cannot be provided without an @Inject constructor or an @Provides-annotated method.
my class looks like this
class InstructorProfileState @Inject constructor(
val instructorId: String
) {
sealed class ViewCommand {
class SetInstructorData(val instructor: Instructor) : ViewCommand()
}
val viewCommandStream = SingleLiveEvent<ViewCommand>()
}
Javier
06/26/2020, 5:40 PMlawlorslaw
06/30/2020, 8:39 PM