Justin Xu
03/31/2023, 6:00 PMnone of the following candidates is applicable because of receiver type mismatch
for
ComponentActivity.viewmodels
and ComponentActivity.setContent
, even though I am invoking these inside an Activity that extends AppCompatActivity
, and should have access to ComponentActivity
. My code is able to run fine even though these errors pop up in the file. Any way to get rid of this incorrect error?Ian Lake
03/31/2023, 9:13 PMIan Lake
03/31/2023, 9:15 PMJustin Xu
03/31/2023, 9:24 PMLandry Norris
04/01/2023, 1:50 AMJustin Xu
04/01/2023, 1:53 AMandylamax
04/03/2023, 9:55 AM