示例#1
0
        @Override
        public void onCompleted(IDataRequestMethod method, Place place) {
          super.onCompleted(method, place);

          mPlace = place;

          ThreadingUtils.runOnUIThread(
              new Runnable() {
                @Override
                public void run() {
                  if (mPlace != null) {
                    updateCards();
                  }
                }
              });
        }
 /** Calls {@link #superNotifyDataSetChanged()} on the UI thread. */
 protected void superNotifyDataSetChangedOnUIThread() {
   ThreadingUtils.runOnUIThread(superDataSetChangedRunnable);
 }