コード例 #1
0
  @Override
  public void onResume() {
    super.onResume();

    Network connectNetwork = new Network(getActivity(), this);
    connectNetwork.execute("http://www.washingtonpost.com/wp-srv/simulation/simulation_test.json");
  }
コード例 #2
0
 @Override
 public void onResume() {
   super.onResume();
   atualizarAdapter();
   getListView().setItemChecked(position_selecionado, false);
   if (mActionMode != null) mActionMode.finish();
 }
コード例 #3
0
 @Override
 public void onResume() {
   super.onResume();
   mHandler.postDelayed(mTimeUpdateRunnable, REFRESH_INTERVAL_MILLIS);
   mCore = KegbotCore.getInstance(getActivity());
   mCore.getBus().register(this);
 }
コード例 #4
0
ファイル: ListFragment.java プロジェクト: rycus86/TweetWear
  @Override
  public void onResume() {
    super.onResume();

    final IntentFilter filter = new IntentFilter(Constants.ACTION_BROADCAST_READ_IT_LATER);
    LocalBroadcastManager.getInstance(activity)
        .registerReceiver(readLaterBroadcastReceiver, filter);
  }
コード例 #5
0
 @Override
 public void onResume() {
   Log.d(TAG, "onResume");
   // Loading...
   setListShown(false);
   // Listen for data
   registerSurveysReceiver();
   super.onResume();
 }
コード例 #6
0
 @Override
 public void onResume() {
   super.onResume();
   eventBus.register(this);
   Optional<Chat> chat = userProfile.getChat(chatId);
   if (chat.isPresent() && !chat.get().messages.isEmpty()) {
     setData(chat.get());
   }
 }
コード例 #7
0
  @Override
  public void onResume() {
    super.onResume();

    Log.d(TAG, "onResume()");
    getActivity()
        .getApplicationContext()
        .registerReceiver(mLeServiceReceiver, makeLeServiceIntentFilter());
  }
コード例 #8
0
  @Override
  public void onResume() {
    super.onResume();
    areasContract = new AreasContract(getActivity());
    idArea = getActivity().getIntent().getIntExtra("idArea", -1);
    cursor = areasContract.getRockQualityByArea(idArea);
    cursorAdapter =
        new SimpleCursorAdapter(getActivity(), R.layout.fragment_lista_areas, cursor, FROM, TO, 0);

    setListAdapter(cursorAdapter);
  }
コード例 #9
0
 @Override
 public void onResume() {
   super.onResume();
   setListAdapter(
       new SpeakersAdapter(
           this.getActivity(),
           Arrays.asList(
               new Speaker(
                   "Sanjeev Veerawarana",
                   "Building a successfull open source business",
                   "detailed Message",
                   R.drawable.speaker_00),
               new Speaker(
                   "Kiran Chandra",
                   "Using open source software for society's benefit",
                   "detailed Message",
                   R.drawable.speaker_01),
               new Speaker(
                   "Teesta Setalvad",
                   "Fighting communal forces",
                   "detailed Message",
                   R.drawable.speaker_02),
               new Speaker(
                   "Smita Gupta",
                   "Economic development predictor",
                   "detailed Message",
                   R.drawable.speaker_03),
               new Speaker(
                   "Dr Yogesh Jain",
                   "Health care for underprivileged",
                   "detailed Message",
                   R.drawable.speaker_04),
               new Speaker(
                   "Sumangala Damodaran",
                   "Music for change",
                   "detailed Message",
                   R.drawable.speaker_05))));
 }
コード例 #10
0
 @Override
 public void onResume() {
   super.onResume();
 }
コード例 #11
0
 @Override
 public void onResume() {
   super.onResume();
   restartLoader();
 }
コード例 #12
0
 @Override
 public void onResume() {
   super.onResume();
   refreshEvents();
 }
コード例 #13
0
 @Override
 public void onResume() {
   super.onResume();
   mBus.register(this);
   mStatusBar.registerBus(mBus);
 }
コード例 #14
0
 @Override
 public void onResume() {
   super.onResume();
   listUpdateNotify();
 }