``` class MainViewModelTest1 @Inject constructor(p...
# getting-started
s
Copy code
class 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.