How to use Animations in Kotlin fragments (Answered)
Edit:I found the answer myself online in other thread Shared Preferences in Fragment with Kotlin Hope that helps.
How to use Animations in Kotlin fragments
I am new to Kotlin programming and I am facing an issue with Kotlin fragments.
I want to use Animations when I click certain objects in my fragment, but I am not able to use them with the AnimationUtils.loadAnimation() function as its asking for the “context” and I am providing it the fragment.
Here is where I am getting the problem: