We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onCreateView method in this library is final to prevent the method overriding in subclass
onCreateView
But in my use case, I have a reason to override this method. I have another wrapper view to handle the user gesture on the map by itself.
For example
class CustomMapFragment: MapFragment() { override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ) { val mapView = inflater.inflate(MapsPlatform.get().getFragmentLayoutId(), container, false) val wrapperView = WrapperView(requireContext()) wrapperView.addView(mapView) return wrapperView } }
Can you remove final in onCreateView method or is there any solution?
final
The text was updated successfully, but these errors were encountered:
b19b468
No branches or pull requests
onCreateView
method in this library is final to prevent the method overriding in subclassBut in my use case, I have a reason to override this method. I have another wrapper view to handle the user gesture on the map by itself.
For example
Can you remove
final
inonCreateView
method or is there any solution?The text was updated successfully, but these errors were encountered: