Reputation: 61
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
Upvotes: 6
Views: 1184
Reputation: 5600
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
Upvotes: 1