How to change viewpager_headerHeight programmatically depending on image resource height?

Author: bogabCreated May 16, 2016Updated Oct 6, 2021
Labelsenhancement

Hi @florent37 , Is there any way to change the viewpager_headerHeight value to fit the entire image programmatically?

Source: florent37/MaterialViewPager