title: viewpager2 setoffscreenpagelimit(3) not working
body: <p>Hi guys I want to make a slider with Viewpager2 that shows 3 element at the moment
  and I want it to look like this
  <a href="https://i.stack.imgur.com/osBwe.png" rel="nofollow noreferrer">how I want to my slider look like</a>
  but my slider is look like this
  <a href="https://i.stack.imgur.com/H0OX9.png" rel="nofollow noreferrer">how my slider look like</a>
  and here is my java code</p>
  <pre><code>public class ExplorerFragment extends Fragment {
      ViewPager2 usersAvatarSlider;
      public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
          View v = inflater.inflate(R.layout.explorer_fragment, container, false);
          Find(v);
          initUsersAvatarSlider();
       return v;
      }
      void Find(View v) {
          usersAvatarSlider = v.findViewById(R.id.UserViewPager2);
      }
      void initUsersAvatarSlider() {
          UserAvatarSliderAdapter userAvatarSliderAdapter = new UserAvatarSliderAdapter();
          usersAvatarSlider.setAdapter(userAvatarSliderAdapter);
          usersAvatarSlider.setOffscreenPageLimit(3);
      }
  }
  </code></pre>
  <p>as u see I'm using <code>usersAvatarSlider.setOffscreenPageLimit(3);</code>
  but I don't know why it's not working</p>