PaperParcel

Additional

Language
Java
Version
parent-2.0.8 (Jun 3, 2019)
Created
Dec 19, 2015
Updated
Nov 24, 2019
Owner
Bradley Campbell (grandstaish)
Contributors
Josh Burton (athornz)
Tobias Preuss (johnjohndoe)
Eric Denman (edenman)
Karol Wrótniak (koral--)
Nicklas Ansman Giertz (ansman)
Bradley Campbell (grandstaish)
Paul Blessing (paulblessing)
ayanyev
bejibx
9
Activity
Badge
Generate
Download
Source code
APK file

Promotion

This project is deprecated

It will still be maintained, but no new features will be added. Please use Parcelize, as it is the official way of generating Parcelable implementations on Android.

PaperParcel

PaperParcel is an annotation processor that automatically generates the CREATOR and writeToParcel(...) implementations for you when writing Parcelable objects. PaperParcel fully supports both Java and Kotlin (including Kotlin Data Classes). Additionally, PaperParcel supports Google's AutoValue via an AutoValue Extension.

For more information please see the website.

Download

Java:

dependencies {
  compile 'nz.bradcampbell:paperparcel:2.0.8'
  annotationProcessor 'nz.bradcampbell:paperparcel-compiler:2.0.8'
}

Kotlin:

apply plugin: 'kotlin-kapt'

dependencies {
  compile 'nz.bradcampbell:paperparcel:2.0.8'
  compile 'nz.bradcampbell:paperparcel-kotlin:2.0.8' // Optional
  kapt 'nz.bradcampbell:paperparcel-compiler:2.0.8'
}

Development snapshots are available on JFrog OSS Artifactory.

License

Copyright 2016 Bradley Campbell.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.