예제 #1
0
  @Override
  public void onResume() {
    super.onResume();

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