Closed madhavajay closed 4 years ago
Okay, I have made all the changes and squashed into a single commit. I will open a separate PR for the CI stuff after this is merged and I can rebase. Let me know if theres anything else you need me to change. 😊
@madhavajay amazing, thanks 👐 . I still see a new yaml file in the diff, can you recheck if you have removed everything? Otherwise, LGTM. cc: @zsoltk
@ShikaSD Sorry, I missed that when I squashed the commits. It's gone now, so I think we're ready for merge. Thanks for the patience.
@madhavajay @ShikaSD thank you both!
I got everything working, however I can't figure out the correct way to handle the three unchecked casts properly. I left the @Suppress("UNCHECKED_CAST") commented near each one.
I guess this is something to do with Covariance / Contravariance etc, but I dont know enough about how to solve it. Seems theres a List and a Map with BackStack<*>. Would one solution be to have some kind of known Routing interface or class which is subclassed or implemented so that the type and its sub/super are known?
I would be interested in knowing how this should be fixed so that I can understand this whole <*> thing in Kotlin.