mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
Add back Librus test
This commit is contained in:
parent
23a9f24d52
commit
870a429f3d
@ -45,6 +45,7 @@ import pl.szczodrzynski.edziennik.R;
|
||||
import pl.szczodrzynski.edziennik.MainActivity;
|
||||
import pl.szczodrzynski.edziennik.api.v2.events.requests.SyncProfileRequest;
|
||||
import pl.szczodrzynski.edziennik.api.v2.events.requests.SyncViewRequest;
|
||||
import pl.szczodrzynski.edziennik.api.v2.librus.LibrusTest;
|
||||
import pl.szczodrzynski.edziennik.databinding.CardLuckyNumberBinding;
|
||||
import pl.szczodrzynski.edziennik.databinding.CardUpdateBinding;
|
||||
import pl.szczodrzynski.edziennik.databinding.FragmentHomeBinding;
|
||||
@ -119,6 +120,13 @@ public class HomeFragment extends Fragment {
|
||||
startActivity(new Intent(activity, MessagesComposeActivity.class));
|
||||
}));
|
||||
|
||||
LibrusTest librusTest = new LibrusTest(app);
|
||||
|
||||
b.testButton.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
b.testButton.setOnClickListener((v -> {
|
||||
librusTest.go();
|
||||
}));
|
||||
|
||||
b.test2.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
b.test2.setOnClickListener((v -> {
|
||||
List<Integer> list = new ArrayList<>();
|
||||
|
Loading…
Reference in New Issue
Block a user