Last active
January 2, 2018 11:02
-
-
Save alfianyusufabdullah/9f7ea4cc893537ffe9919cfdfd75c5bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String textNama = etNama.getText().toString().trim(); | |
String textNim = etNim.getText().toString(); | |
String textSemester = etSemester.getText().toString().trim(); | |
EZQLite.getInstance(context) | |
.doInsert("TabelMahasiswa") | |
.putValue("COL_NAMA", textNama) | |
.putValue("COL_NIM", textNim) | |
.putValue("COL_SEMESTER", textSemester) | |
.insert(new OnDatabaseCallback() { | |
@Override | |
public void Success() { | |
// TODO - do some magic | |
} | |
@Override | |
public void Failed(String s) { | |
// TODO - do some magic | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment