- in CommandSession constructor, must construct a hard reference to the
ViewPager to make garbage collection impossible until at least
`getContext()` is called
- in setupLayoutManager, current code doesn't have a case for if mPager
is null. Probably we wouldn't be there anyway, but in any case the
`ctx` parameter should be equivalent, i.e., it should refer to the
ActivityContext, so we use that instead of going through mPager