mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
Remove unnecessary files.
This commit is contained in:
parent
cd3b69b136
commit
1bdd13bf23
@ -115,40 +115,6 @@ public class HomeFragment extends Fragment {
|
|||||||
return true;
|
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.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||||
b.composeButton.setOnClickListener((v -> {
|
b.composeButton.setOnClickListener((v -> {
|
||||||
startActivity(new Intent(activity, MessagesComposeActivity.class));
|
startActivity(new Intent(activity, MessagesComposeActivity.class));
|
||||||
|
Loading…
Reference in New Issue
Block a user