I have updated the Navigation framework from 2.3.5 to the 2.4.0-alpha01 version. I use it with Safe Args gradle plugin. After update, I started getting 'getActionId' overrides nothing
and 'getArguments' overrides nothing
errors.
I think this is happening because Safe Args is overriding the actionId
and arguments
fields of NavDirections
improperly when generating the Direction classes.
For example, this is what is being generated:
public override fun getActionId(): Int =
R.id.action_navigation_articles_to_articleReaderFragment
This is what should be generated:
public override val actionId: Int = R.id.action_navigation_articles_to_articleReaderFragment
How can I get the Safe Args to generate proper builder classes?