declex
declex copied to clipboard
DecleX - Declarative Framework for Android, easier and faster coding.
I can't manage to use a @Bean inside a model because I can't make a method that get executed after the injection happens
Right now DecleX includes two type of @Models, @LocalDBModel for SQLite management @ServerModel to connect to the server It would be good to make a @PreferenceModel that store and read...
In this method: ```java public boolean onError(Exception e) { String message = selectNotNull(e.getMessage(), e.getCause()!=null? e.getCause().getMessage() : null); $Toast("An error occurred: {message}"); return false; } ``` The Actions parser doesn't create...
When passing as parameter a query into an action, for instance: ```java $LoadModel(model).query("name LIKE '" + name + "'"); ``` The string is parsed incorrectly for the Actions Parser as...
Right now @Model annotation takes as parameter a "query", "orderBy" and "fields" parameters. But since @UseModel descendant can have different requirements, this doesn't fully meet all the requirements. For instance,...
If you create events with parameters, and then they are used to reload a model, an error is generated since no parameter is recognized. Suppose we have an event like...
It would be great to have a method that does a reload in case the action fails with the model. Following the line of... [https://github.com/smaugho/declex/issues/86](url), could be realized with the...
Often it is useful to have references to only one field of a specific model, @ModelField annotation will do this, takins as parameter the Model and the field (which could...
Normally using Android Annotations you can enhance a service through @EService an then start it by using MyService_.intent(getApplication()).start(); the idea would be to make an action to convert this into...
Even offering support for Actions in #111, the Listener would continue making the code "ugly". It would be good to implement an action-like system for Views, which automatically will handle...