Esempio n. 1
0
  @Override
  public void onResume() {
    super.onResume();

    mAdapter.startLocationUpdate();
    mAdapter.notifyDataSetChanged();
  }
Esempio n. 2
0
 private void initList() {
   mAdapter = new BookmarkListAdapter(getActivity(), mCategory);
   mAdapter.startLocationUpdate();
   setListAdapter(mAdapter);
   getListView().setOnItemLongClickListener(this);
 }