Skip to content

Commit

Permalink
Do not call setHasFixedSize for tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
vkryl committed Jun 10, 2024
1 parent 47a4833 commit 551e7a7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ public void onScrolled (@NonNull RecyclerView recyclerView, int dx, int dy) {
recyclerView.setOverScrollMode(Config.HAS_NICE_OVER_SCROLL_EFFECT ? OVER_SCROLL_IF_CONTENT_SCROLLS :OVER_SCROLL_NEVER);
recyclerView.setLayoutManager(new LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, Lang.rtl()));
recyclerView.setAdapter(adapter);
recyclerView.setHasFixedSize(true);
addView(recyclerView);

setLayoutParams(FrameLayoutFix.newParams(ViewGroup.LayoutParams.MATCH_PARENT, Size.getHeaderBigPortraitSize(true)));
Expand Down

0 comments on commit 551e7a7

Please sign in to comment.