I am getting the following Kotlin warning on my circle ci build
Copy code
No cast needed
i tried adding the suppress annotation but still get the same warning
Copy code
@Suppress("UNCHECKED_CAST")
val viewStub = (parentBottomTabs as ViewStub)
How do i properly suppress this warning?
lawlorslaw
08/23/2021, 8:29 PM
okay this is really stupid ... i figured it out
i removed the cast
and it looks like the app runs
but the ide still shows as red
i guess i will safely ignore the android studio warnings. i hate when this happens.