public class MainViewModel extends ViewModel {
...
private class Repository {
...
}
}
I created an instance from the Repository class inside the MainViewModel class but I don't know why IDE tells me to make the Repository class static.