Sudhir Singh Khanger
09/19/2018, 9:04 AMclass MainViewModelTest1 @Inject constructor(private val movieRepository: MovieRepository) : ViewModel() {
val movieList: LiveData<List<MovieEntry>> = movieRepository.getMovies()
}
If I add private then I get the warning constructor parameter is never used as a property but if I remove the private modifier then the warning goes away.