Will this actually compile with the import to the ...
# compose
g
Will this actually compile with the import to the platform Activity extension, or is it a tooling error?
l
we are pushing people towards ComponentActivity since we are able to leverage lifecycles to handle things properly like state restoration, releasing references on stop, etc.
👍 1
a
but AppCompatActivity is extending ComponentActivity so this error shouldn't be displayed as we use the proper overload, interesting
g
Yes, I'm extending AppCompatActivity
a
anyway, we will soon remove this deprecated overload and it will only compile inside AppCompatActivity or ComponentActivity
(your code should work fine)
g
OK, thanks!
l
oh whoops. missed that