9:42 The problem is that arraylist indexes don't refresh and instead of only removing Miller you also delete view with Sey. Is there any of aproaches to fix it?
Hey. I cloned the repo and replaced with my google service credentials. Everything works besides the Edit function. When I change the value, the list of items is not refreshed with new values. I need to reopen the list again to see the edited values. Delete refreshes the list correctly. Could you please help? I am running on Android 11 - Samsung phone.Thanks
Hey. Can you help me? I do everything along with your video but I have an error anyway. In the switch/ R.id.menu_edit I have a red underline here: intent.putExtra("EDIT", emp); I used an android studio hint so I did this: intent.putExtra("EDIT", (Serializable) emp); But it doesn't work. When I start the app and try the edit function I get an error: cannot be cast to java.io.Serializable Do you have any advice?
@@CamboTutorial Thank you for your quick answer. :) I wouldn't cast that, but without it I also have an error underline it says "It cannot resolve method putExtra(java.lang.String, com.example.fbtest.Employee)" :l. But I've just found the solution below. I had to implement Serializable for my Employee class. Thank you. :D
@@Qu3sti0nX hey, ya I guess so. When I use (serializable) emp, it managed to compile but the function is still not working. I don't understand what do you mean by 'I had to implement Serializable for my Employee class.' do you want to look at my full coding. Please do help me 😖 My code is exactly the same as the one in the video
your tutorials are very helpfull ty brother!
Appreciated
9:42 The problem is that arraylist indexes don't refresh and instead of only removing Miller you also delete view with Sey. Is there any of aproaches to fix it?
hey for the update when i update in the existing data it creates a new data instead of update in the existing data ...can you please help?
We are both on the same boat. Greetings fellow Sri Lankan
Please tell me how you fixed it if you found a solution
@@tequilatyrant3992 hey set the position..just compare your code with their
bro use better names for variables, this way is difficult to understand what they are
Hey. I cloned the repo and replaced with my google service credentials. Everything works besides the Edit function. When I change the value, the list of items is not refreshed with new values. I need to reopen the list again to see the edited values. Delete refreshes the list correctly. Could you please help? I am running on Android 11 - Samsung phone.Thanks
how can i update the image please
guys if the put extra emp didnt work try make the employee class implement serializable
Must implement
Hey. Can you help me? I do everything along with your video but I have an error anyway.
In the switch/ R.id.menu_edit I have a red underline here: intent.putExtra("EDIT", emp);
I used an android studio hint so I did this: intent.putExtra("EDIT", (Serializable) emp);
But it doesn't work. When I start the app and try the edit function I get an error: cannot be cast to java.io.Serializable
Do you have any advice?
Not cast to Serialize, it is interface. The class have to implement from Serializable
@@CamboTutorial Thank you for your quick answer. :)
I wouldn't cast that, but without it I also have an error underline it says "It cannot resolve method putExtra(java.lang.String, com.example.fbtest.Employee)" :l.
But I've just found the solution below. I had to implement Serializable for my Employee class.
Thank you. :D
@@Qu3sti0nX bro, how did you do that. Im facing the same problem. Pls help
@@tharvinmohgan9682 Hey, if I'm correct you haven't implemented the Serializable interface. 🙂
@@Qu3sti0nX hey, ya I guess so. When I use (serializable) emp, it managed to compile but the function is still not working. I don't understand what do you mean by 'I had to implement Serializable for my Employee class.' do you want to look at my full coding. Please do help me 😖 My code is exactly the same as the one in the video
Hi I need source code