Use updateLayoutParams() on MapFragment
I have the following map fragment:
mapFragment = supportFragmentManager.findFragmentById(R.id.map_fragment) as SupportMapFragment
I can't use
updateLayoutParams() on it (mapFragment.updateLayoutParams) because Android Studio says "Unresolved reference: updateLayoutParams"
but it works on other types of views. Why? what should i do instead?