Using the Jetpack Navigation library, how do you h...
# android
f
Using the Jetpack Navigation library, how do you handle an optional Long id that you send to an add/edit screen? Longs can't be nullable in the Navigation library so do I set the default value to -1 instead?
😶 1
f
Yes, set it to -1
f
@FunkyMuse thank you