atalantus / Wokabel-App

A vocabulary-trainer app for Android developed as a school project.
2 stars 0 forks source link

Tabellen übergreifende methoden #46

Closed JonahKr closed 6 years ago

JonahKr commented 6 years ago

Task zur User Story #5

Hinzufügen von Tabellenübergreifenden Methoden.

JonahKr commented 6 years ago

if(!dbadapter.checkforContentDatabase){ Supergroup sp1=dbadapter.insertSupergroup(new Supergroup("Englisch",iconid); Subgroup sb1=dbadapter.insertSubgroup(new Subgroup("Unit 1", sp1.getId()); dbadapter.insertVocable(new Vocable("hello",<"Hallo">,"Hello Jeff, how are you?",sb1.getId()); dbadapter.insertVocable(new Vocable("bye",<"Tschüss">,"Bye Jeff. Have a nice day.",sb1.getId()); }