@Override
 protected void onResume() {
   super.onResume();
   String URL = Constants.urlBrewHahaContent + recipeTitle.replace(" ", "-");
   // Refresh the state of the +1 button each time the activity receives focus.
   mPlusOneButton.initialize(URL, PLUS_ONE_REQUEST_CODE);
 }
示例#2
0
  @Override
  public void onResume() {
    super.onResume();

    mPlusOneButton.initialize(MARKET_URL, 0);
    // mPlusOneButton.

    Tracker t = TrackerSingleton.getDefaultTracker(getActivity());

    // Set screen name.
    // Where path is a String representing the screen name.
    t.setScreenName(TAG);
    // t.set( "_count", ""+adapter.getCount() );

    // Send a screen view.
    t.send(new HitBuilders.AppViewBuilder().build());
  }
 // JK: +1 button
 @Override
 protected void onResume() {
   super.onResume();
   mPlusOneButton.initialize("http://foodfriends92.wix.com/index", PLUS_ONE_REQUEST_CODE);
 }
 @Override
 public void onResume() {
   super.onResume();
   // Refresh the state of the +1 button each time the activity receives focus.
   mPlusOneButton.initialize(PLUS_ONE_URL, PLUS_ONE_REQUEST_CODE);
 }