Can't toast on a thread that has not called Looper.prepare()

NeidennXNeidennX Member ✭✭
edited August 15 in Xamarin.Android

Ok so i have this app that is running a code to insert some data in a SQL Table with the API, but with that same click i need to actually insert into two tables at the same time, so i created a thread for the insert on the second table, the thing is that, when the app compiles is throwing two errors

1: Can't toast on a thread that has not called Looper.prepare()
2: Expectation failed

both of them on the same IF

so if someone can help me would be great

The errors are on the highlighted area

Best Answer

Answers

  • NeidennXNeidennX Member ✭✭

    Thank you for that, it solved the Looper() issue, but it's still throwing the > Expectation Failed error and i have no clue on how to solve it

Sign In or Register to comment.