Пример #1
0
 public void populateBio() {
   if (!local.isPopulated("Bio")) Network.grabBios(this);
 }
Пример #2
0
 public void populateSchedule(Activity activity) {
   if (!local.isPopulated("ScheduleItem2")) Network.getSchedule2(this, activity);
 }
Пример #3
0
 public void populateNews(Activity activity) {
   if (!local.isPopulated("News")) Network.grabFeed(this, activity);
 }
Пример #4
0
 @Override
 public void onTerminate() {
   if (local != null) local.close();
   super.onTerminate();
 }
Пример #5
0
 public void updateScheduleStatus() {
   String currentTimeStamp = getCurrentTimeStamp();
   previous = local.getSchedule2Previous(currentTimeStamp);
   current = local.getSchedule2Now(currentTimeStamp);
 }
Пример #6
0
 public void populateSchedules() {
   dayArrays.put(1, local.getSchedule2TimeSlots(1));
   dayArrays.put(2, local.getSchedule2TimeSlots(2));
   dayArrays.put(3, local.getSchedule2TimeSlots(3));
   dayArrays.put(4, local.getSchedule2TimeSlots(4));
 }
Пример #7
0
 public void populateBooths() {
   if ((!local.isPopulated("BoothLocation")) || (!local.isPopulated("Booth")))
     updateBoothLocations();
 }
Пример #8
0
 public void populateExhibitor() {
   if (!local.isPopulated("Exhibitor")) Network.getExhibitors(this);
 }