APISonar


org.wikipedia.analytics.ProtectedEditAttemptFunnel.log

> org > wikipedia > analytics > ProtectedEditAttemptFunnel > log
org APIs wikipedia APIs analytics APIs ProtectedEditAttemptFunnel APIs log APIs

Example 1
private ProtectedEditAttemptFunnel funnel;

    public void showUneditableDialog() {
        new AlertDialog.Builder(fragment.getActivity())
                .setCancelable(false)
                .setTitle(R.string.page_protected_can_not_edit_title)
                .setMessage(AccountUtil.isLoggedIn()
                        ? R.string.page_protected_can_not_edit
                        : R.string.page_protected_can_not_edit_anon)
                .setPositiveButton(android.R.string.ok, null)
                .show();
        funnel.log(currentPage.getPageProperties().getEditProtectionStatus());
    }