posted 2 years ago
Hi I am building an app from start I need to say I am beginner in this area . So until now my app on button click open a popup dialog where I can add names and delete them. but the problem comes when I add a new item and try to delete one, give me crash I will put link below . It gives me NullPointerException , on a null object reference. I think problem it s at databasehandler when it need to refresh data but idk for sure. Really appreciate any comment.
and here I put error
and this is database