Remove unnecessary files.

This commit is contained in:
Kuba Szczodrzyński 2019-09-20 19:38:25 +02:00
parent cd3b69b136
commit 1bdd13bf23

View File

@ -115,40 +115,6 @@ public class HomeFragment extends Fragment {
return true;
});*/
b.testButton.setOnClickListener((v -> {
LoginStore loginStore = new LoginStore(1, LOGIN_TYPE_LIBRUS, new JsonObject());
loginStore.putLoginData("email", "example@example.com");
loginStore.putLoginData("password", "zaq1@WSX");
Profile profile = new Profile(1, "test", "testsubname", 1);
profile.putStudentData("accountLogin", "1234567");
new Librus(app, profile, loginStore).login(new SyncCallback() {
@Override
public void onLoginFirst(List<Profile> profileList, LoginStore loginStore) {
}
@Override
public void onSuccess(Context activityContext, ProfileFull profileFull) {
}
@Override
public void onProgress(int progressStep) {
}
@Override
public void onActionStarted(int stringResId) {
}
@Override
public void onError(Context activityContext, @NonNull AppError error) {
}
});
}));
b.composeButton.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
b.composeButton.setOnClickListener((v -> {
startActivity(new Intent(activity, MessagesComposeActivity.class));