public void fetchFromLocal() {
   int flag = weatherListener.getActivityIdentification();
   switch (flag) {
     case 0:
       if (connectToRealm == null) {
         connectToRealm = new ConnectToRealm(mContext, this);
       }
       connectToRealm.fetchFromRealm(flag);
       break;
     case 1:
       break;
   }
 }
 public void notifyActivityUpdate(int flag) {
   if (weatherListener != null && weatherListener.getActivityIdentification() == flag) {
     weatherListener.onUpdate();
   }
 }