could you provide a simple way for using the library with fragments to be similar to FragmentStatePagerAdapter for example?