Closed paranoiasystem closed 8 years ago
I have resolve this problem, I have wrong in the UserRepository class, this is the correct code:
package com.marcoferraioli.loopback;
public class UserRepository extends com.strongloop.android.loopback.UserRepository<User> {
public interface LoginCallback extends com.strongloop.android.loopback.UserRepository.LoginCallback<User> {
}
public UserRepository() {
super("user", null, User.class);
}
}
In the constructor the first parameter is the name of model.
I'm developing an application that uses the Android SDK of Loopback for make REST requests. I have an issue when i try to login a user, I receive that error
I have create User class
and UserRepository class
this is MainActivity
How I fix this issue?