| | |
| | | package com.google.recaptcha.sample |
| | | package com.igo.user.utils.recaptcha |
| | | |
| | | import android.annotation.SuppressLint |
| | | import android.app.Dialog |
| | |
| | | fun newInstance(siteKey: String, baseUrl: String, lang: String?): RecaptchaVisualFragment { |
| | | val f = RecaptchaVisualFragment() |
| | | val args = Bundle() |
| | | args.putString(RecaptchaWebView.SITE_KEY, siteKey) |
| | | args.putString(RecaptchaWebView.BASE_URL, baseUrl) |
| | | args.putString(RecaptchaWebView.LANG, lang) |
| | | args.putString(RecaptchaWebView.Companion.SITE_KEY, siteKey) |
| | | args.putString(RecaptchaWebView.Companion.BASE_URL, baseUrl) |
| | | args.putString(RecaptchaWebView.Companion.LANG, lang) |
| | | f.arguments = args |
| | | return f |
| | | } |