Comments (1)
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.
from loopback-sdk-android.
Related Issues (20)
- null pointer from using RestAdapter HOT 1
- can't get current user id from MainActivity HOT 1
- Integrate Eslint to the repo HOT 1
- loginUser problem java.lang.NoSuchMethodError: No virtual method post HOT 3
- Add to Model class another save method to return the response of the object being added HOT 1
- ModelRepository.createObject fails with null parameters
- Model.toMap should include superClass properties
- Call for maintainers HOT 4
- RestAdapter: HTTP request (string) failed: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate coming in loopback
- 500 Internal Server Error on save HOT 1
- [What about support for Android Marshmallow - API 23]
- Best Practice to check server availability before calling any method
- User.save(email, password) returns successful even when no email was successfully sent
- Increasing the timeout to prevent socket timeout error HOT 1
- Getting java.lang.NoSuchMethodError exception when calling findAll
- how to cancel request from RestAdapter? HOT 1
- Where field value is null or empty
- Issue when running Proguard with the SDK (missing documentation) HOT 1
- Update test cases to be port independent HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loopback-sdk-android.