Send Custom Object to Activity Using Parcelable – Android Studio Tutorial
In this tutorial we will use the Parcelable interface, which is a faster alternative to Java’s Serializable interface, to send a custom object from our MainActivity to another activity, after we click that particular item in a RecyclerView.
RecyclerView & CardView Dependencies:
https://developer.android.com/topic/libraries/support-library/packages.html#v7-recyclerview
https://developer.android.com/topic/libraries/support-library/packages.html#v7-cardview
Source code:
https://gist.github.com/codinginflow/1fbcb909118f906ac8cedd410e61c6cd
____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io
⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching
❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflo…
📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter
❓ Join our free developer community:
https://discord.gg/TSnMvmc
📣 Follow Coding in Flow on other sites:
Facebook: https://www.facebook.com/codinginflow
Instagram: https://www.instagram.com/codinginflow
TikTok: https://www.tiktok.com/@codinginflow
Twitter: https://twitter.com/codinginflow
Github: https://github.com/codinginflow
💰 Business requests, sponsoring, etc.: info@codinginflow.com
Views :90229
android studio