Use RecyclerView and ViewPager in CoordinatorLayoutHow to add dividers and spaces between items in RecyclerView?Why doesn't RecyclerView have onItemClickListener()?Non-Scrolling Fragment in a ViewPager inside CoordinatorLayoutNested RecyclerView with CoordinatorLayoutCoordinatorLayout with RecyclerView And Collapsing headerViewpager is being pushed out of the screen [CoordinatorLayout] [Design Library]How to put RecyclerView below Toolbar and above TabLayout and ViewPager also handling responses to scrolls in a custom manner?CoordinatorLayout with NestedScrollView and Horizontal Scrolling RecyclerViewHow to write a viewPager inside a recyclerView full height
Pros and cons of writing a book review?
What was the point of getting this item into the Quantum Tunnel?
What happened to all the nuclear material being smuggled after the fall of the USSR?
What does it mean by "d-ism of Leibniz" and "dotage of Newton" in simple English?
You've spoiled/damaged the card
Movie where a boy is transported into the future by an alien spaceship
Shrink exponential fraction argument
Bent spoke design wheels — feasible?
Does any lore text explain why the planes of Acheron, Gehenna, and Carceri are the alignment they are?
Did thousands of women die every year due to illegal abortions before Roe v. Wade?
Building a road to escape Earth's gravity by making a pyramid on Antartica
What is a simple, physical situation where complex numbers emerge naturally?
Short story written from alien perspective with this line: "It's too bright to look at, so they don't"
How to connect an offset point symbol to its original position in QGIS?
If Boris Johnson were prosecuted and convicted of lying about Brexit, can that be used to cancel Brexit?
Responsibility for visa checking
Why is Colorado so different politically from nearby states?
Traffic law UK, pedestrians
What is the purpose of building foundations?
Credit card offering 0.5 miles for every cent rounded up. Too good to be true?
Chopin: marche funèbre bar 15 impossible place
Can you please explain this joke: "I'm going bananas is what I tell my bananas before I leave the house"?
How to decline physical affection from a child whose parents are pressuring them?
PhD student with mental health issues and bad performance
Use RecyclerView and ViewPager in CoordinatorLayout
How to add dividers and spaces between items in RecyclerView?Why doesn't RecyclerView have onItemClickListener()?Non-Scrolling Fragment in a ViewPager inside CoordinatorLayoutNested RecyclerView with CoordinatorLayoutCoordinatorLayout with RecyclerView And Collapsing headerViewpager is being pushed out of the screen [CoordinatorLayout] [Design Library]How to put RecyclerView below Toolbar and above TabLayout and ViewPager also handling responses to scrolls in a custom manner?CoordinatorLayout with NestedScrollView and Horizontal Scrolling RecyclerViewHow to write a viewPager inside a recyclerView full height
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have a layout, I need to use recyclerView and TabLayout and ViewPager in the last item in CoordinatorLayout.
but just recyclerView scroll and show, TabLayout and ViewPager don't show.
anybody can help me?
<CoordinatorLayout>
<AppBarLayout>
<CollapsingToolbarLayout>
<Layout/>
<Toolbar/>
</CollapsingToolbarLayout>
<TabLayout/>
</AppBarLayout>
<ReyclerView/>
<TabLayout/>
<ViewPager/>
</CoordinatorLayout>
java android kotlin android-recyclerview android-coordinatorlayout
add a comment |
I have a layout, I need to use recyclerView and TabLayout and ViewPager in the last item in CoordinatorLayout.
but just recyclerView scroll and show, TabLayout and ViewPager don't show.
anybody can help me?
<CoordinatorLayout>
<AppBarLayout>
<CollapsingToolbarLayout>
<Layout/>
<Toolbar/>
</CollapsingToolbarLayout>
<TabLayout/>
</AppBarLayout>
<ReyclerView/>
<TabLayout/>
<ViewPager/>
</CoordinatorLayout>
java android kotlin android-recyclerview android-coordinatorlayout
add a comment |
I have a layout, I need to use recyclerView and TabLayout and ViewPager in the last item in CoordinatorLayout.
but just recyclerView scroll and show, TabLayout and ViewPager don't show.
anybody can help me?
<CoordinatorLayout>
<AppBarLayout>
<CollapsingToolbarLayout>
<Layout/>
<Toolbar/>
</CollapsingToolbarLayout>
<TabLayout/>
</AppBarLayout>
<ReyclerView/>
<TabLayout/>
<ViewPager/>
</CoordinatorLayout>
java android kotlin android-recyclerview android-coordinatorlayout
I have a layout, I need to use recyclerView and TabLayout and ViewPager in the last item in CoordinatorLayout.
but just recyclerView scroll and show, TabLayout and ViewPager don't show.
anybody can help me?
<CoordinatorLayout>
<AppBarLayout>
<CollapsingToolbarLayout>
<Layout/>
<Toolbar/>
</CollapsingToolbarLayout>
<TabLayout/>
</AppBarLayout>
<ReyclerView/>
<TabLayout/>
<ViewPager/>
</CoordinatorLayout>
java android kotlin android-recyclerview android-coordinatorlayout
java android kotlin android-recyclerview android-coordinatorlayout
edited Mar 25 at 6:09
Rasoul Miri
asked Mar 24 at 13:19
Rasoul MiriRasoul Miri
2,1931932
2,1931932
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
What's the size of the RecyclerView? Is it MATCH_PARENT? Try setting a smaller height to recyclerView and check whether the viewPager is visible. You need to enclose all three views inside scrollView and make recyclerView, a nested scroll.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55324213%2fuse-recyclerview-and-viewpager-in-coordinatorlayout%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
What's the size of the RecyclerView? Is it MATCH_PARENT? Try setting a smaller height to recyclerView and check whether the viewPager is visible. You need to enclose all three views inside scrollView and make recyclerView, a nested scroll.
add a comment |
What's the size of the RecyclerView? Is it MATCH_PARENT? Try setting a smaller height to recyclerView and check whether the viewPager is visible. You need to enclose all three views inside scrollView and make recyclerView, a nested scroll.
add a comment |
What's the size of the RecyclerView? Is it MATCH_PARENT? Try setting a smaller height to recyclerView and check whether the viewPager is visible. You need to enclose all three views inside scrollView and make recyclerView, a nested scroll.
What's the size of the RecyclerView? Is it MATCH_PARENT? Try setting a smaller height to recyclerView and check whether the viewPager is visible. You need to enclose all three views inside scrollView and make recyclerView, a nested scroll.
answered Mar 24 at 13:35
SanthoshKumar SrikanthaMuraliSanthoshKumar SrikanthaMurali
1067
1067
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55324213%2fuse-recyclerview-and-viewpager-in-coordinatorlayout%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown