JSON Putting data in adapter

when I am doing new LinearLayoutManager(getBaseContext()) its showing cannot resolve error for getBaseContext
suddenly and it was working fine earlier (before an update)

Try all of the following answers in the mentioned SO link