https://developer.android.com/about/versions/oreo/android-8.0-changes.html#all-apps
Web form autofill
Now that the Android Autofill Framework provides built-in support for autofill functionality, the following methods related to WebView objects have changed for apps installed on devices running Android 8.0 (API level 26):
WebSettings
WebViewDatabase
Users can enable or disable autofill as well as change the autofill service by navigating to Settings > System > Languages & input > Advanced > Input assistance > Autofill service.
The loadUrl() and loadData() methods of Android WebView class are used to load and display web page.
Some apps, such as password managers, can fill out the views in other apps with data previously provided by the user. These apps that fill out other apps are called autofill services. The autofill framework manages the communication between an app and an autofill service.
This is the basic example to force an autofill request
public void eventHandler(View view) {
AutofillManager afm = context.getSystemService(AutofillManager.class);
if (afm != null) {
afm.requestAutofill();
}
}
check the complete documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With