declex
declex copied to clipboard
DecleX - Declarative Framework for Android, easier and faster coding.
DecleX is linked to EventBus, and this has the option to indicate where to run the Event Method (UIThread, BackgroundThread, PostingThread). There should be an option in @Event to be...
In current version, List layouts are parsed by the PopulateHandler, but this doesn't permit to do validation over lists. If the lists are parsed by the LayoutParser itself, then it...
When the queries are executed in the Local DB, all the fields are always loaded (at least that a row query is done). To avoid having to write a Raw...
When a method returns a value in java, right now it is not possible to use Actions when the result is inside an action. The biggest issue with it, it's...
Every models should have an action to instantiate it and make complex operations over it: Ex. ```java @UseModel public class User { String firstName; String lastName; String email; } ```...
When an $AlertDialog is invoked, the default action is the positive button, for instance: ```java $AlertDialog().message("Are you sure?").possitiveButton("Ok").negativeButton("Cancel"); doSomethingHere(); ``` The method `doSomethingHere()` would be executed if the possitive button...
@ViewsById right now it is limited to its behavior inherited from AndroidAnnotations. #33 refers to this. #69 will make a more general approach to inject views. @ViewsById should then support...
In previous versions of DecleX, it was implemented @db() and @server() to pass parameters to the Injecting processes for @ServerModel and @LocalDBModel. Playing with this and "db-ignore" and "server-ignore" specials...
Permit the use of @JsonSerializedModel in initializations. Also be able to provide in the query a JSON object as String.. so something like this can be done: ```java @Model(query="{\"name\":\"John\"}") @JsonSerializedModel...
The OnFailedRunnable used in $PutModel and $GetModel, should contains a reference to the object over which failed the operation, this is necessary to make other actions after failure.