How experimental is @Parcelize Android extension? ...
# android
a
How experimental is @Parcelize Android extension? Someone using in production?
👍 3
g
It's stable enough, I don't know any significant bugs. Use it in production
k
Only problem I know if is you can't ignore fields from parceling. I filed a ticket for it
g
@kenkyee But you can. there is annotation @IgnoredOnParcel
a
@gildor that's amazing to know
@IgnoredOnParcel
k
that's what I filed a bug on @gildor 🙂 https://youtrack.jetbrains.com/issue/KT-24459
doesn't work...
at least not the way I want to use it
g
So, you trying to use it with constructor parameters? Yeah, it doesn’t work like that, only for class fields
k
Yep... Would be useful for data classes
I couldn't get it to work with class fields either
g
But how this suppose to work? Use default value instead? So default value would be required for @IgnoreOnParcel constructor property?
k
yes...I would expect default value to be used if it's not parceled...it's how I'd write the code by hand.