Getting this error

My code:- https://res.cloudinary.com/df3qkgfyp/raw/upload/v1630038577/FGrid_t6pegp.java

Error:-

Did you try anything from yourself?
Oh wait...do you know what null object means?

Null means nothing empty

So what do you think is empty/not initialized in your code?

1 Like

you did not provide your context variable the context from componentcontainer

1 Like

and another thing you are trying to use imageresource which is not possible so i prefer you to use bitmap or drawable instead

1 Like