Preview in android kotlin
When I enter the program, a black screen is displayed for a few seconds and then it enters the program
With the search I made, I used the following code and the black screen is not displayed, but when I try to enter the program, the whole phone freezes for a few seconds and then enters the program.
I could not find a solution to this problem
true