paperparcel
paperparcel copied to clipboard
Auto-generate Parcelable implementations for Java and Kotlin
I am passing data to some fragment in bundle and while receiving it throws the exception "java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.b.h.b, parameter schoolName" java.lang.IllegalArgumentException: Parameter specified...
I can't build an apk and get this error msg: `Error:(12, 33) Unresolved reference: PaperParcelState` PaperParcelState: ``` @PaperParcel data class State( val count: Int, val modificationDate: Date ) : PaperParcelable...
Hi, I am trying to use PaperParcel in my `data class` models, it does compile and run, but Android Studio is not indexing/recognizing the generated files. Android Studio version 2.3.3...
Hi! I think I suddenly break gradle configuration with my recent PR with incap support. For version 2.0.7 to work properly I have to add both ```paperparcel``` and ```paperparcel-api``` artifacts...
I have an app with 3 modules:mobile(mobile app), wear(watch app)and core(contains some common entities). I tried to use paperparcel in mobile and core modules. In mobile module(plugin: 'com.android.application') it works...
Looks like the fields that are being generated have different names from the ones that are defined in the data class. **Data Class** ```kotlin @PaperParcel data class User( val id:...
Hi, I've just found *my own* bug in this code causing an `IllegalArgumentException`: ``` @PaperParcel data class MultiSearchState( val searchQuery: String? = null, val activeSearchType: SearchType = SearchType.MOVIES ) :...
knowing that i have in my gradle only this two dependencies to kapt kapt "nz.bradcampbell:paperparcel-compiler:2.0.1" //dagger kapt "com.google.dagger:dagger-compiler:2.9"
This class: ```java public abstract class Foo { @Memoized public String someMethod() { return "foo"; } } ``` Will generate a field called `someMethod` that unfortunately isn't transient so PaperParcel...
I've got a data class like this: ``` @PaperParcel data class MyParcelable(val taco: String, val burrito: String) : PaperParcelable { companion object { @JvmField val CREATOR = PaperParcelMyParcelable.CREATOR } val...