delight-im / delight-im/Android-AdvancedWebView
Help please
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 578
- PR merge metrics
- No merged PRs in 30d
Description
I have implemented the code in my project and it opens an advanced WebView 'web view' but I am struggling with the setlistener method returning the path to an image back to the webview.
Where would I place this code in an Androidx, nav drawer, fragment with 'view model' Kotlin project?
The project advises: Add the following code to the parent FragmentActivity in order to forward the results from the FragmentActivity to the appropriate Fragment instance-
public class MyActivity extends FragmentActivity implements AdvancedWebView.Listener {
@Override
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
super.onActivityResult(requestCode, resultCode, intent);
if (mFragment != null) {
mFragment.onActivityResult(requestCode, resultCode, intent);
}
}
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.