Why do we still create an Activity object in a custom adapter

40 Views Asked by At

Am new to new to android development so please forgive me if this sounds stupid to you. Please why do we still create an activity object in a custom adapter for list view, when there's is parameter for a context object in the constructor. I am learning with a udemy course and thats what the teacher does.This is a screenshot of what he did

0

There are 0 best solutions below