Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
を使用してFragmentStatePagerAdapterいます。何らかの理由で、フラグメントが表示される前に getCount() メソッドが何度も呼び出されています...これは正常な動作ですか?
FragmentStatePagerAdapter
はい。ご心配なく。getItem() よりも 10 倍頻繁に呼び出されるようです。