I am using this example to use a ViewPager
and a PagerAdapter
.
But how could I feed the PagerAdapter
with data from a adapter like CursorAdapter
where I load the data using a CursorLoader
?
The .setAdapter()
on the ViewPager
only takes a PagerAdapter
. Then I would guess I need to bind the CursorAdapter
within the PagerAdapter
, but I could not find a way doing this.