No video

Passing data between Activities in Kotlin using Serializable interface | Recycler View

  Рет қаралды 6,433

Mafia Codes

Mafia Codes

Күн бұрын

In this video you will learn how to pass a custom #object to a new activity using the #Serializable #interface. We would also be using the #companionObject which somewhat resembles the #static #keyword in #java.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Patreon: / trulymittal
Subscribe: www.youtube.co...
GitHub (Tutorial): github.com/tru...
---------------
More useful videos
---------------
RecyclerView: • Recycler View with com...
ViewModel: • View Model | Live Data...
NavigationComponent: • Navigation Component |...
WorkManager: • Work Manager | Android...
Retrofit: • RETROFIT Tutorial (v 2...
CollapsingToolbar Layout: • Collapsing Toolbar Lay...
BottomNavigation View: • Bottom Navigation View...
KeyframeAnimations: • Keyframe Animations wi...
NightMode: • Night Mode | Dark Mode...
ButterKnife: • Butter Knife | Field a...
SplashScreen: • Splash screen | Launch...
Singletons: • Singletons | What When...
Pull to Refresh in RecyclerView: • Pull to Refresh in Rec...
On item click using Interface in RecyclerView: • RecyclerView item Clic...
Swipe gestures in Recycler View: • Swipe gestures in Recy...
Drag and drop Reorder in Recycler View: • Drag and drop Reorder ...
Filter using #SearchView in RecyclerView: • Filter RecyclerView us...
MultiView RecyclerView: • Multi view RecyclerVie...
---------------
Other useful Playlists
---------------
Android: • Android
#Firebase: • Firebase | Build a Not...
#RestAPI (#NodeJS and MongoDB): • REST API using NodeJS ...
Docker: • Docker
MongoDB: • Learn MongoDB in 50 mi...
Html/Css/Js: • HTML / CSS / JS
Challenges: • Challenges
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTRULY #tutorial #howto #android

Пікірлер: 15
@pradeepkumarreddykondreddy7048
@pradeepkumarreddykondreddy7048 4 жыл бұрын
Android recommends using parcelable instead of serializable. Other thing is you can make MOVIE_OBJECT as const Val in companion object instead of just val.
@soundeffectsforyou5928
@soundeffectsforyou5928 2 жыл бұрын
Love from Pakistan. Your's video has resolved my issue. Thanks alot.
@ibukunokunoye4795
@ibukunokunoye4795 Жыл бұрын
Thanks for this
@dennisgonzales9521
@dennisgonzales9521 4 жыл бұрын
Kotlin yes ♥️
@quewealawea
@quewealawea 3 жыл бұрын
Awesome video man, you helped me a lot
@mafiacodes
@mafiacodes 3 жыл бұрын
Glad to hear it!
@andersonperez8694
@andersonperez8694 3 жыл бұрын
thansk!! you helpeld alot broo !!
@m-j-y8289
@m-j-y8289 3 жыл бұрын
Hi for some reason I get an error java invalid class excpetion serialversionUID does not match could you please help me with this?
@lglf77
@lglf77 Жыл бұрын
getSerializableExtras os deprecated em 2023. Any solution please?
@nesletchimaew9209
@nesletchimaew9209 Жыл бұрын
use parcelable
@mehulbisht9708
@mehulbisht9708 4 жыл бұрын
instead of serializable i have seen parcelable only so far and used it, that also works, don't know which should be used also if i want to make 2 strings as companion objects then do i have to write companion object{ //object creation } twice or can i declare both the strings inside one companion object{} only ?
@pradeepkumarreddykondreddy7048
@pradeepkumarreddykondreddy7048 4 жыл бұрын
You should do it inside one companion object only. Companion object is basically a singleton that is tied to the outer class. There can be only one companion object inside a class. You can not have multiple companion objects inside a class.
@arupnaskarbkp
@arupnaskarbkp 4 жыл бұрын
Hello sir please make full advance video ..and upload udemy platform
Transition Animations in Navigation Component
3:05
Mafia Codes
Рет қаралды 3,7 М.
PASSING DATA BETWEEN ACTIVITIES - Android Fundamentals
18:44
Philipp Lackner
Рет қаралды 46 М.
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 40 МЛН
Harley Quinn's revenge plan!!!#Harley Quinn #joker
00:59
Harley Quinn with the Joker
Рет қаралды 18 МЛН
OnClick Listener using Interface in RecyclerView
7:50
Mafia Codes
Рет қаралды 7 М.
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 133 М.
lateinit vs lazy in Kotlin
8:17
Amit Shekhar
Рет қаралды 7 М.
Recycler View using Kotlin
30:03
Mafia Codes
Рет қаралды 5 М.
RecyclerView in Android Studio using Kotlin | Android Knowledge
12:11
Android Knowledge
Рет қаралды 15 М.
Pass Data between Activities using intent | Android Studio | Kotlin
14:18
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 352 М.
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 40 МЛН