mvvm-sample-app
mvvm-sample-app copied to clipboard
MVVM, ViewModel and LiveData Sample App
removed redundant if condition in the getInstance method
Hello, i have this error: public ProjectListViewModel(@NonNull ProjectRepository projectRepository, @NonNull Application application) in this point @Inject public ProjectListViewModel(@NonNull ProjectRepository projectRepository, @NonNull Application application) java.lang.NoSuchMethodException: [class android.app.Application] I have discover that...
I am getting blank screen when trying to install and launch the projects.
I think it is a mistake in DiffUtil in ProjectAdapter.java
``` public LiveData getProjectList(String userId) { final MutableLiveData data = new MutableLiveData(); like this, if you use the method to refresh data, you can only get a new mutableLiveData which...
in projectListObservable = ProjectRepository.getInstance().getProjectList("Google"); it shows "Cannot resolve method getInstance()".
Hi, I´ve updated some libraries to the last version. I´ve also changed the LifecycleActivity and LifecycleFragment inheritances with AppCompatActivity and Fragment (support). Also removed a slash on the GithubService getProjectDetails...
Hi Guys, Actually the issue is in system generated file named app/build/generated/source/apt/debug/com/example/test/mvvmsampleapp/databinding/ProjectListItemBinding.java projectWatchers - The variable name is mismatched on its declaration. Refer Line:17 and Line:111 Anyway to edit this...
Loved your sample apple. Fixed some minor problems with code style, did a lint check, converted to kotlin.