What is the difference between Parcaple and Serializable? first of all, let's talk about Serialization. Serialization means the process of converting an object to a byte stream, saving its state to storage, or sending it over the network In Android, we commonly use it to pass data between different components of the application, such as Activities, Fragments, and Services. So Serialization is a general concept in programming. Serializable: is a Java-standard interface used to indicate that a class can be serialized. When a class implements this interface, its objects can be converted into a byte stream, but its performance is slow. Parcaple: is an Android-specific interface designed to optimize the serialization process for Android applications. It allows objects to be converted into a format that can be passed efficiently between Android components. Its performance is faster than Serializable. #android
Muhammed Nashat’s Post
More Relevant Posts
-
What is Android Runtime? We write code in Kotlin/Java, and when we build the APK, it gets converted to bytecode. In our APK, we will have the .dex files that contain bytecode. Our Android devices can't run the bytecode directly, so it needs to be translated to the machine code. This translation is done by Android Runtime. Kotlin/Java > bytecode(.dex files in APK) > machine code So, now that we know what is Android Runtime, it's time to learn about the different types of Android Runtime and their evolution. • Dalvik • ART Learn here: https://lnkd.in/d7M3a3St
To view or add a comment, sign in
-
Advanced Error Handling Techniques in Android Kotlin runCatching simplifies code with method chaining and clear separation of success and failure. Either forces explicit error management, promoting functional programming practices. sealed classes provide exhaustive and type-safe error handling.
To view or add a comment, sign in
-
🚀 Looking to optimize your Android development process? Explore my latest blog on Hashnode where I dive into crucial topics like Lint for maintaining code quality, DDMS for debugging, AIDM for interface management, Lambda functions for concise coding, and key object-oriented principles like association, aggregation, and composition. Enhance your projects with these insights! #AndroidDevelopment #MobileApps #CodingTips #TechBlog #SoftwareEngineering https://lnkd.in/dEjNQSmJ
Streamline your Android projects with powerful tools, modern coding
codesutra.hashnode.dev
To view or add a comment, sign in
-
Everything about Coroutines in Android. Check out my new blog about this. In this blog, I talked about every detail of coroutines. https://lnkd.in/db3Nnc3c #android #kotlin #coroutines #androidappdevelopment #mobileappdevelopment #mobiledevelopment #softwaredevelopment #coding #programmer #developer #hashnode
Topic: 11 Understanding Coroutines in Android
mayursinhdevblog.hashnode.dev
To view or add a comment, sign in
-
Develop an app that displays Mars photos with ViewModel and Repositories with dependency injection and Flow coroutines https://lnkd.in/eBp-BVuC During this course, we will develop an Android application that will display photos taken by the rovers on Mars using Android Studio. This app will use all the latest Jetpack technologies: Compose (no more XML) Hilt (Dagger Dependency Injection Framework) Room (Jetpack component to create a lite database) Retrofit (REST client) Coroutines and Flow (To create asynchronous tasks and request our database) You also use ViewModels with Jetpack to use an MVVM Repository architecture. With this example, you should be able to create an Android App to the industry standard. Navigation with Jetpack Compose could be challenging, so we will create a simple example with 4 screens and a BottomNav to understand it. A Scaffold will be use to create the BottomNav. Your productivity will be improve as Jetpack Compose is easier to write and reuse. You will improve your knowledge of Kotlin. If you still use Java, this course is an opportunity to learn. Compose is a new way to create a UI on Android. It is more concise and reusable. Therefore, it helps to develop faster Android applications. In this app we will use Jetpack Compose Components from Materal3: Card LazyColumn Column Row AsyncIamge (from the Coil lib to display an image from a server) Text Image NavHost (to use navigation) NavigationBar NavigationBarItem Box Scaffold We will also see how we can use a modifier to define padding. https://lnkd.in/eBp-BVuC #English #AndroidJetpack #Development #MobileDevelopment
Android Jetpack Compose with Retrofit Room Hilt in Kotlin
allgoodtutorials.com
To view or add a comment, sign in
-
Hello everyone, I would like to share my current side project that I work on. The app is called Muuvis and the remote data is from The Movie Database (TMDB) API. Long story short, I am newbie on developing Android app using Kotlin. I was started my learning journey on February 2024 and eventually, I got my first job. But, I feel like my progress are slow, so I built this app to learn some new concepts. Below are the concepts that I learn by creating Muuvis app: - Architecure: MVVM + Clean Architecture + Modularization + Dynamic Feature - Asynchronous Programming: Coroutine Flow - Local Database: Room - Netwok Connection: Retrofit - Dependency Injection: Dagger Hilt - Single Activity Multiple Fragments - Navigation: Jetpack Compose Navigation - Preferences: Datastore - CI/CD: CircleCI
To view or add a comment, sign in
-
🚀 Dive into the world of programming with C and C++! Read: https://lnkd.in/dCAPTk4v From system programming to mobile app development, these languages offer unparalleled versatility and power. Check out our latest article to explore how C and C++ are shaping the future of technology across diverse domains!
Fundamental Programming
codefinity.com
To view or add a comment, sign in
-
Rust in the Android platform The Android platform provides support for developing native OS components in Rust, a modern systems-programming language that provides memory safety guarantees with performance equivalent to C/C++. Rust uses a combination of compile-time checks that enforce object lifetime and ownership, and runtime checks that ensure valid memory accesses, thereby eliminating the need for a garbage collector. Rust provides a range of modern language features which allow developers to be more productive and confident in their code: https://lnkd.in/gvGS2awj
To view or add a comment, sign in
-
Vision Pro devs: Just posted this little project to script batch processing of .stl to .obj files, or vice versa. It's uncompiled so requires Xcode to build and run, but is fast and efficient because it uses the native RealityKit options: https://lnkd.in/g3y__UqV It's unlicensed - mostly 'cause if you finish it or make it better for commercial purposes, I'll just use yours ;)
GitHub - krypted/3dconverter
github.com
To view or add a comment, sign in
-
Imagine a shower controlled with just a tap! With U by MOEN, you can customize your perfect shower experience from your smartphone. But how can a shower be so smart? There is powerful coding behind this innovation. U by MOEN is built using a combination of C++ and Java. C++ is used to control water temperature and manage the embedded systems precisely. On the other hand, Java provides the framework for easy customization, ensuring seamless communication between the hardware and your device. These languages work together to create a flawless and user-friendly shower experience. U by MOEN isn't just a shower—it's a coding marvel !!! This was Day 9 of our "Code Behind It" series. Comment “Code Behind It” and stay tuned for Day 10 to uncover more technological wonders! #CodeBehindIt #SmartShower #C++ #Java #codingninjas
To view or add a comment, sign in