I'm using froid to write Android applications and I can't seem to find documentation on how to make a ViewPager.
How do I go about making a custom one?
I'm using froid to write Android applications and I can't seem to find documentation on how to make a ViewPager.
How do I go about making a custom one?
Copyright © 2021 Jogjafile Inc.
Froid assigns function closures to objects instead of overriding them - which means that you never have to make a custom class that overrides
ViewPageryou only need to give froid'sViewPagerclass functions that determine how you want theViewPagerto work. These are calleddelegatorsin the API.For example, in the TryFrege app there is a custom instance of
ViewPager.