Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in fragment_update UpadateFragmentArgs is not showing up #6

Open
jaydip430 opened this issue Oct 20, 2021 · 3 comments
Open

in fragment_update UpadateFragmentArgs is not showing up #6

jaydip430 opened this issue Oct 20, 2021 · 3 comments

Comments

@jaydip430
Copy link

jaydip430 commented Oct 20, 2021

in fragment_update UpadateFragmentArgs lint is showing not recoinzable

@jaydip430
Copy link
Author

https://ibb.co/5G03Tjb

@prasmaran
Copy link

Hello there, I had the same issue as well but after some digging, I managed to find a working solution (stackoverflow.com/questions/67848649/android-safeargs-cant-import-the-navigation-directions-class-generated). Add this to your build.gradle(:app)

`
android {

defaultConfig {......}

sourceSets {
    getByName("main") {
        java.srcDir("build/generated/source/navigation-args")
    }
}

}
`

Now rebuild your project

@Dawid-Witkowski
Copy link

@prasmaran you could make a PR with the changes, might be merged some day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants