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?
Froid assigns function closures to objects instead of overriding them - which means that you never have to make a custom class that overrides ViewPager
you only need to give froid's ViewPager
class functions that determine how you want the ViewPager
to work. These are called delegators
in the API.
For example, in the TryFrege app there is a custom instance of ViewPager
.