Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsalcido committed Feb 15, 2017
1 parent 5635406 commit bfb5e78
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,26 @@ private Cedexis(ViewGroup viewGroup) {
/**
* Inject a {@link Cedexis} {@link WebView} in the {@link Activity} root view.
* Using `android.R.id.content` as the root view.
* @param activity
* @return
* @param activity Activity to attach WebView on root
* @return {@link Cedexis}
*/
public static Cedexis init(Activity activity) {
return new Cedexis(activity);
}

/**
* Inject a {@link Cedexis} in the provided {@link WebView} and make visibility View.GONE
* @param webView
* @return
* @param webView WebView to update
* @return {@link Cedexis}
*/
public static Cedexis init(WebView webView) {
return new Cedexis(webView);
}

/**
* Inject a {@link Cedexis} {@link WebView} in any {@link ViewGroup}
* @param viewGroup
* @return
* @param viewGroup viewGroup to attach a WebView
* @return {@link Cedexis}
*/
public static Cedexis init(ViewGroup viewGroup) {
return new Cedexis(viewGroup);
Expand Down

0 comments on commit bfb5e78

Please sign in to comment.