https://kotlinlang.org logo
#android
Title
# android
l

lawlorslaw

08/23/2021, 7:53 PM
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?
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.
👍 1
3 Views