Skip to content

Instantly share code, notes, and snippets.

@tomredman
Last active September 9, 2015 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomredman/e239e3cb26bc8a45e26d to your computer and use it in GitHub Desktop.
Save tomredman/e239e3cb26bc8a45e26d to your computer and use it in GitHub Desktop.
Example usage of the ChromeCustomTab class
package org.buffer.android.helpers.customtabs;
import android.app.Activity;
/**
* -----------------------
* FAQCustomTab
* -----------------------
*
* @author Tom Redman
* 15-09-04
*/
public class FAQCustomTab extends ChromeCustomTab {
private final static String FAQ_URL = "https://buffer.com/faq/mobile-v/android-app";
public FAQCustomTab(Activity activity) {
super(activity, FAQ_URL);
warmup();
mayLaunch();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment