use of com.lieverandiver.thesisproject.helper.TeacherHelper in project classify-system by anverliedoit.
the class SliderSettingFragment method displayEvenDelay.
public void displayEvenDelay() {
new Thread(new Runnable() {
@Override
public void run() {
teacherHelper = new TeacherHelper(getContext());
final Teacher teacher = teacherHelper.loadUser().get();
handler.post(new Runnable() {
@Override
public void run() {
textName.setText(teacher.getLastName() + " " + teacher.getFirstName() + " " + teacher.getMiddleName().toCharArray()[0] + ".");
textNameLabel.setText("Tap here to view");
layout.setVisibility(View.VISIBLE);
progressBar.setVisibility(View.INVISIBLE);
}
});
}
}).start();
}
Aggregations