Codes
- L: Likes
- D: Dislikes
- M: Meh.
Depending on the persona for successful negotiation you need either 2 Like answers or 1 Like + 1 Meh.
Who likes what
public final class User { | |
@NotNull | |
private final String email; | |
private final int age; | |
public User(@NotNull String email, int age) { | |
if (email == null) { | |
throw new RuntimeException("Email can't be null"); | |
} | |
this.email = email; |
Codes
Depending on the persona for successful negotiation you need either 2 Like answers or 1 Like + 1 Meh.
Who likes what
public static class SomeClass { | |
public void onEvent(String value) { | |
Log.i(TAG, value); | |
Eventbus.post(12); | |
Eventbus.post(true); | |
} | |
public void onEvent(Integer value) { | |
Log.i(TAG, String.valueOf(value)); |
//This class resides in my app project (not the library project) | |
public class Login extends Fragment { | |
@Inject | |
ConfigurationManager manager; | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
ApplicationBootstrap.INSTANCE.getApplicationComponent().inject(this); | |
} |