React technical principles and code development practice: from Webpack to Parcel

Author: Zen and the Art of Computer Programming 1. Background Introduction What is React? React is a JavaScript library for building user interfaces that was first released in September 2013. It was invented by Facebook engineer Jean Preact and open sourced in 2017. Its main features include declarative programming, component-based design, one-way data flow, etc., […]

Parcelable interface in Android

Parcelable interface in Android In Android, the Parcelable interface is a mechanism for serializing and deserializing objects. It allows us to convert custom Java objects into a transportable binary data stream in order to pass data between different components. Often when passing complex custom objects between activities, using the Parcelable interface is more efficient than […]

Parcel Delivery Detection Using CodeProject.AI Server and Blue Iris

Directory Get Package Custom Model Set Blue Iris Alerts Detection Kit – Part 1 Error sending email notification Detection Kit – Part 2 This article demonstrates how to use CodeProject.AI Server and Blue Iris to detect delivery packages through object recognition and trigger email notifications for alerts. So far in my previous articles, we’ve done […]

Serialization of entity classes – Serializable and Parcelable

Directory what is serialization Why serialization is needed way of serialization example Usage of Serializable: Usage of Parcelable: What is serialization Data serialization refers to converting the object class developed by our program into the smallest unit of computer storage, a sequence of bytes. The deserialization of data refers to converting the byte sequence in […]

Serializable and Parcelable interfaces

Serializable and Parcelable interfaces Before talking about Serializable and Parcelable interfaces, we need to understand what is serialization and deserialization Serialization and deserialization Serialization refers to converting an object or data structure into a specific format for storage, transmission, or exchange between computers. Serialization converts an object or data structure into a byte stream or […]

[Solved] Kotlin uses @Parcelize to report an error public abstract fun describeContents(): Int defined in android.os.Parcelable

kotlin uses @Parcelize to report an error Class XXXData’ is not abstract and does not implement abstract member public abstract fun describeContents(): Int defined in android.os.Parcelable Solution app/build.gradle add id ‘kotlin-android-extensions’ plugins {<!– –> id ‘com.android.application’ id ‘kotlin-android’ id ‘kotlin-android-extensions’ }