This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@EFragment(R.id.fragment_user) | |
public class UserFragment extends Fragment { | |
@Model | |
@UseModel | |
@Recollect(validate = true) | |
User user; | |
@Click | |
void next() { | |
$Recollect(user); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Model | |
@Recollect | |
@PutOnAction(R.id.saveUser) | |
User user; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Model | |
@Populate | |
List<User> users; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Model | |
@Populate | |
@Recollect | |
@PutOnAction(R.id.saveUser) | |
User user; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Model | |
@Populate | |
@Recollect(validate = true) | |
@PutOnAction(R.id.saveUser) | |
User user; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Model | |
@Recollect | |
User user; | |
@Click | |
void saveUser() { | |
$PutModel(user); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
User_ user; | |
@ViewById | |
TextView userFirstName; | |
@ViewById | |
TextView userLastName; | |
@ViewById |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Model | |
@Populate | |
User user; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@UseModel | |
class Address { | |
String street; | |
String number; | |
String city; | |
String country; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ServerModel( | |
baseUrl = "http://www.example.com", | |
get = "user/me" | |
) | |
@LocalDBModel | |
public class User { | |
@NotEmpty String firstName; | |
@NotEmpty String lastName; | |
@Email String email; | |
OlderNewer