コード例 #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();
                  }
                }
              });
        }
コード例 #2
0
 /** Calls {@link #superNotifyDataSetChanged()} on the UI thread. */
 protected void superNotifyDataSetChangedOnUIThread() {
   ThreadingUtils.runOnUIThread(superDataSetChangedRunnable);
 }