I have tried your code but when I enter for example same username which already exists, I get no message from my API in the app I am using Node + Loopback as API server and when I test my API with postman, it works no problem, I get all messages when I get error such as user exists...
I have tried to Log.d("response", response.getMessage()); but response is null probably, because it jumps to handleError and prints message Network Error. When I remove that log, snackbar shows blank, no text. Any ideas??
I have tried your code but when I enter for example same username which already exists, I get no message from my API in the app I am using Node + Loopback as API server and when I test my API with postman, it works no problem, I get all messages when I get error such as user exists...
I have tried to
Log.d("response", response.getMessage());butresponseis null probably, because it jumps tohandleErrorand prints messageNetwork Error. When I remove that log, snackbar shows blank, no text. Any ideas??