Комментарии:
Sir, you are making good videos. thank you. Sir, I have a problem with my project. In recycleView, there are 12 items and each item have 3 buttons that are Yes, No, N/A. Click on yes button, the background of a button changed into green and for other also same. The main problem is that when I click the first item yes/no/NA button, the background of the button of item 1 and item 7 changed automatically in recycleView and also for 2 ---- 8 so on. Sir how to solve this problem only one button should be selected on click. Please help me
Ответитьthanq
ОтветитьHello Belal, I hope you are doing well.
I am facing a problem with Data Binding with Fragment, I am implementing an interface with two methods named "onSuccess" and "onFailure" and when I override them in FragmentClass, it neither works not shows any error. It does not display toast.
public abstract class AppDatabase extends androidx.room.RoomDatabase {
im getting like this
Why you dont created AuthViewModel as Dependency Injection .
Ответитьim getting this error
java.lang.ClassCastException: android.app.Application cannot be cast to org.kodein.di.KodeinAware
Thank you sir.
Ответитьhi, Im facing this error, java.lang.RuntimeException: Failed to call observer method
..
.. at com.commongame73.mvvmbysimplifiedcoding.databinding.ProfileFragmentBindingImpl.executeBindings(ProfileFragmentBindingImpl.java:161)
Better with subtitles,sir
ОтветитьHello sir I got an error in profile fragment in 14 video please help me out. The error is type mismatch:inferred type is "com.example.ui.home.Profile.ProfileViewModel" but Profile.ProfileViewModel? Was expected.
ОтветитьViewModelProviders is depreciated. Other way to initialize viewmodel??
ОтветитьJust in case any one want to Concatenation two string inside xml using viewmodel
code: android:text="@{`Hello ` +viewmodel.user.display_name+ `,`}"
For the ViewModelProviders deprecated : Use the constructors for directly :
Example : viewModel = ViewModelProvider(this).get(HomeViewModel::class.java)
Simplified video.
Ответитьi have an error --> e: java.lang.IllegalStateException: Backend Internal error: Exception during file facade code generation
ОтветитьHi, Thank you for this tutorial. Because my English listening is not
good, could you open subtitles(auto generation)? Thank you a lot.
Unable to resolve host "@t": No address associated with hostname
Is hosted API is down?