I\'m adapting an app to API 30 and I\'ve found this problem.
In previous versions it works nicely with an structure like this:
On my main activity I get to declare