WAI
Status Update
Comments
wk...@google.com <wk...@google.com> #2
can you please post your navigation XML file and the generated *Args java file?
In my testing with alpha03, an argument like this:
<argument
android:name="myarg2"
android:defaultValue="@null"
app:type="string"
app:nullable="true"/>
results in correct generated code:
@Nullable
private String myarg2 = null;
In my testing with alpha03, an argument like this:
<argument
android:name="myarg2"
android:defaultValue="@null"
app:type="string"
app:nullable="true"/>
results in correct generated code:
@Nullable
private String myarg2 = null;
th...@gmail.com <th...@gmail.com> #3
I updated the navigation library to alpha03 but didn't update the safe args gradle plugin. It works correctly now. Thanks for your fast response.
wk...@google.com <wk...@google.com> #4
No problem, thanks for verifying :)
Description
From
"Currently when using app:nullable="true" in combination with android:defaultValue="@null", the generated file will have the default value "@null" as string value instead of null value."