Android app crashing during swipe to delete recyclerview using Room database

Multi tool use
Multi tool use


Android app crashing during swipe to delete recyclerview using Room database



I am currently doing my #7DaysOfCodeChallenge at Udacity and implemented Swipe to delete on recyclerview which uses room database but the app crashes and nothing is deleted from the room database. Here is a link to the Actvity on githubMainActivity.Java



I cannot figure out what is wrong with it





can you show your log. I have read your code but didn't find delete code
– Opriday
Jul 1 at 5:08





Post your code here rather than providing a link to Github.
– craigcaulfield
Jul 1 at 8:52




1 Answer
1



I finally resolved the problem. The problem was that I was calling an asyncTask which required a parameter and I failed to pass it.Anyways, the code is hosted on https://github.com/ngengesenior/Journal-App/






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

G sOFzgex
Xqb6zjuIlqY6R

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications