Scroll firebase Recyclerview inside a scrollview to the last item insertedLinearLayout not expanding inside a ScrollViewHow to scroll to top of long ScrollView layout?Android: how to check if a View inside of ScrollView is visible?ListView inside ScrollView is not scrolling on AndroidViewPager inside a ScrollView does not scroll correcltyHow to add dividers and spaces between items in RecyclerView?RecyclerView inside ScrollView is not workingRecyclerview inside ScrollView not scrolling smoothlyRecyclerViews inside ScrollView is cutting off the last itemOnClickListener not working with fragments
What is the word for reserving something for yourself before others do?
What does it mean to describe someone as a butt steak?
What do you call a Matrix-like slowdown and camera movement effect?
What defenses are there against being summoned by the Gate spell?
Can divisibility rules for digits be generalized to sum of digits
What does "Puller Prush Person" mean?
What is the offset in a seaplane's hull?
How can I make my BBEG immortal short of making them a Lich or Vampire?
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
"You are your self first supporter", a more proper way to say it
Why does Kotter return in Welcome Back Kotter?
Prove that NP is closed under karp reduction?
What would happen to a modern skyscraper if it rains micro blackholes?
How to format long polynomial?
Python: next in for loop
Why do falling prices hurt debtors?
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Watching something be written to a file live with tail
Have astronauts in space suits ever taken selfies? If so, how?
How to find program name(s) of an installed package?
How could an uplifted falcon's brain work?
What's the point of deactivating Num Lock on login screens?
Is a tag line useful on a cover?
Fencing style for blades that can attack from a distance
Scroll firebase Recyclerview inside a scrollview to the last item inserted
LinearLayout not expanding inside a ScrollViewHow to scroll to top of long ScrollView layout?Android: how to check if a View inside of ScrollView is visible?ListView inside ScrollView is not scrolling on AndroidViewPager inside a ScrollView does not scroll correcltyHow to add dividers and spaces between items in RecyclerView?RecyclerView inside ScrollView is not workingRecyclerview inside ScrollView not scrolling smoothlyRecyclerViews inside ScrollView is cutting off the last itemOnClickListener not working with fragments
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I've been through several solutions over the stack overflow but could not achieve the desired result. I have a firebase recyclerview for a comment section. The firebase recyclerview exist with in the scroll view as am scroll some other part of the layout as well with the normal firebase recyclerview. I've set RecyclerView.setNestedScrollingEnabled(false), so the scrollview can scroll smoothly. right now I'm able to successfully scroll through out the layout but my problem only arises when I enter the activity the layout is shown from the top which is something, I don't want. I want the firebase recyclerview or the scroll view to be shown from the last item which is in the bottom. Also I want to the RecyclerView to automatically scroll to the last item position whenever the user enters a new comment
Any Help would be appreciated thank you
Below is my code
the code inside the oncreate for initialization
replyInDetailCommentsRecyclerView = findViewById(R.id.replyInDetailCommentsRecyclerView);
linearLayoutManager1 = new LinearLayoutManager(this);
replyInDetailCommentsRecyclerView.setLayoutManager(linearLayoutManager1);
replyInDetailCommentsRecyclerView.setNestedScrollingEnabled(false);
The code inside the firebase recyclerview, I've only added the relevant part to the problem. hope it helps
adapter1.startListening();
adapter1.notifyDataSetChanged();
adapter1.registerAdapterDataObserver(new RecyclerView.AdapterDataObserver()
@Override
public void onItemRangeInserted(int positionStart, int itemCount)
super.onItemRangeInserted(positionStart, itemCount);
int friendlyMessageCount = adapter1.getItemCount();
int lastVisiblePosition =
linearLayoutManager1.findLastCompletelyVisibleItemPosition();
if (lastVisiblePosition == -1
);
replyInDetailCommentsRecyclerView.setAdapter(adapter1);
adapter1.notifyDataSetChanged();
My XML Code
<ScrollView
android:layout_below="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:fillViewport="true"
android:fitsSystemWindows="true"
android:layout_marginBottom="50dp"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/RelativeLayout5"
android:layout_width="match_parent"
android:layout_below="@id/RelativeLayout1"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/RelativeLayout2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/RelativeLayout4">
<android.support.v7.widget.RecyclerView
android:id="@+id/replyInDetailCommentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
<RelativeLayout
android:id="@+id/RelativeLayout4"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/imageInDetailComments"
android:layout_width="30dp"
android:src="@drawable/profile"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_height="30dp"/>
<android.support.v7.widget.AppCompatTextView
android:id="@+id/nameInDetailComments"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:textStyle="bold"
android:layout_alignTop="@+id/imageInDetailComments"
tools:text="Saqib"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_marginLeft="5dp"
android:textColor="#096697"
android:layout_toEndOf="@+id/imageInDetailComments"
android:layout_marginStart="5dp" />
<android.support.v7.widget.AppCompatRatingBar
android:id="@+id/ratingInDetailComments"
style="?android:attr/ratingBarStyleSmall"
android:layout_width="wrap_content"
android:max="5"
android:numStars="5"
android:progressBackgroundTint="@color/colorAccent"
android:progressTint="@color/colorAccent"
android:rating="0.0"
android:secondaryProgressTint="@color/colorAccent"
android:stepSize="0.0"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_marginLeft="5dp"
android:layout_below="@+id/nameInDetailComments"
android:layout_marginStart="5dp"
android:layout_toEndOf="@+id/imageInDetailComments" />
<android.support.v7.widget.AppCompatTextView
android:id="@+id/userCommentInDetailComments"
android:layout_width="0dp"
android:layout_below="@+id/ratingInDetailComments"
android:layout_alignParentRight="true"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginLeft="5dp"
android:background="#efeeee"
android:padding="5dp"
android:text="i can do it mate, my bidding price includes gotaskie fee"
/>
<View
android:layout_below="@+id/userCommentInDetailComments"
android:layout_marginTop="8dp"
android:id="@+id/lineAboveCommentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#dad8d8"
/>
</RelativeLayout>
</RelativeLayout>
</ScrollView>
add a comment |
I've been through several solutions over the stack overflow but could not achieve the desired result. I have a firebase recyclerview for a comment section. The firebase recyclerview exist with in the scroll view as am scroll some other part of the layout as well with the normal firebase recyclerview. I've set RecyclerView.setNestedScrollingEnabled(false), so the scrollview can scroll smoothly. right now I'm able to successfully scroll through out the layout but my problem only arises when I enter the activity the layout is shown from the top which is something, I don't want. I want the firebase recyclerview or the scroll view to be shown from the last item which is in the bottom. Also I want to the RecyclerView to automatically scroll to the last item position whenever the user enters a new comment
Any Help would be appreciated thank you
Below is my code
the code inside the oncreate for initialization
replyInDetailCommentsRecyclerView = findViewById(R.id.replyInDetailCommentsRecyclerView);
linearLayoutManager1 = new LinearLayoutManager(this);
replyInDetailCommentsRecyclerView.setLayoutManager(linearLayoutManager1);
replyInDetailCommentsRecyclerView.setNestedScrollingEnabled(false);
The code inside the firebase recyclerview, I've only added the relevant part to the problem. hope it helps
adapter1.startListening();
adapter1.notifyDataSetChanged();
adapter1.registerAdapterDataObserver(new RecyclerView.AdapterDataObserver()
@Override
public void onItemRangeInserted(int positionStart, int itemCount)
super.onItemRangeInserted(positionStart, itemCount);
int friendlyMessageCount = adapter1.getItemCount();
int lastVisiblePosition =
linearLayoutManager1.findLastCompletelyVisibleItemPosition();
if (lastVisiblePosition == -1
);
replyInDetailCommentsRecyclerView.setAdapter(adapter1);
adapter1.notifyDataSetChanged();
My XML Code
<ScrollView
android:layout_below="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:fillViewport="true"
android:fitsSystemWindows="true"
android:layout_marginBottom="50dp"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/RelativeLayout5"
android:layout_width="match_parent"
android:layout_below="@id/RelativeLayout1"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/RelativeLayout2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/RelativeLayout4">
<android.support.v7.widget.RecyclerView
android:id="@+id/replyInDetailCommentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
<RelativeLayout
android:id="@+id/RelativeLayout4"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/imageInDetailComments"
android:layout_width="30dp"
android:src="@drawable/profile"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_height="30dp"/>
<android.support.v7.widget.AppCompatTextView
android:id="@+id/nameInDetailComments"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:textStyle="bold"
android:layout_alignTop="@+id/imageInDetailComments"
tools:text="Saqib"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_marginLeft="5dp"
android:textColor="#096697"
android:layout_toEndOf="@+id/imageInDetailComments"
android:layout_marginStart="5dp" />
<android.support.v7.widget.AppCompatRatingBar
android:id="@+id/ratingInDetailComments"
style="?android:attr/ratingBarStyleSmall"
android:layout_width="wrap_content"
android:max="5"
android:numStars="5"
android:progressBackgroundTint="@color/colorAccent"
android:progressTint="@color/colorAccent"
android:rating="0.0"
android:secondaryProgressTint="@color/colorAccent"
android:stepSize="0.0"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_marginLeft="5dp"
android:layout_below="@+id/nameInDetailComments"
android:layout_marginStart="5dp"
android:layout_toEndOf="@+id/imageInDetailComments" />
<android.support.v7.widget.AppCompatTextView
android:id="@+id/userCommentInDetailComments"
android:layout_width="0dp"
android:layout_below="@+id/ratingInDetailComments"
android:layout_alignParentRight="true"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginLeft="5dp"
android:background="#efeeee"
android:padding="5dp"
android:text="i can do it mate, my bidding price includes gotaskie fee"
/>
<View
android:layout_below="@+id/userCommentInDetailComments"
android:layout_marginTop="8dp"
android:id="@+id/lineAboveCommentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#dad8d8"
/>
</RelativeLayout>
</RelativeLayout>
</ScrollView>
Some suggestions for you. First useNestedScrollViewinstead ofScrollView. You question is unclear provide snapshots also you are asking for features which you didn't coded. SO is only for bug fixes you can't ask like i want this i want that.
– Abhishek Singh
Mar 8 at 5:14
add a comment |
I've been through several solutions over the stack overflow but could not achieve the desired result. I have a firebase recyclerview for a comment section. The firebase recyclerview exist with in the scroll view as am scroll some other part of the layout as well with the normal firebase recyclerview. I've set RecyclerView.setNestedScrollingEnabled(false), so the scrollview can scroll smoothly. right now I'm able to successfully scroll through out the layout but my problem only arises when I enter the activity the layout is shown from the top which is something, I don't want. I want the firebase recyclerview or the scroll view to be shown from the last item which is in the bottom. Also I want to the RecyclerView to automatically scroll to the last item position whenever the user enters a new comment
Any Help would be appreciated thank you
Below is my code
the code inside the oncreate for initialization
replyInDetailCommentsRecyclerView = findViewById(R.id.replyInDetailCommentsRecyclerView);
linearLayoutManager1 = new LinearLayoutManager(this);
replyInDetailCommentsRecyclerView.setLayoutManager(linearLayoutManager1);
replyInDetailCommentsRecyclerView.setNestedScrollingEnabled(false);
The code inside the firebase recyclerview, I've only added the relevant part to the problem. hope it helps
adapter1.startListening();
adapter1.notifyDataSetChanged();
adapter1.registerAdapterDataObserver(new RecyclerView.AdapterDataObserver()
@Override
public void onItemRangeInserted(int positionStart, int itemCount)
super.onItemRangeInserted(positionStart, itemCount);
int friendlyMessageCount = adapter1.getItemCount();
int lastVisiblePosition =
linearLayoutManager1.findLastCompletelyVisibleItemPosition();
if (lastVisiblePosition == -1
);
replyInDetailCommentsRecyclerView.setAdapter(adapter1);
adapter1.notifyDataSetChanged();
My XML Code
<ScrollView
android:layout_below="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:fillViewport="true"
android:fitsSystemWindows="true"
android:layout_marginBottom="50dp"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/RelativeLayout5"
android:layout_width="match_parent"
android:layout_below="@id/RelativeLayout1"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/RelativeLayout2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/RelativeLayout4">
<android.support.v7.widget.RecyclerView
android:id="@+id/replyInDetailCommentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
<RelativeLayout
android:id="@+id/RelativeLayout4"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/imageInDetailComments"
android:layout_width="30dp"
android:src="@drawable/profile"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_height="30dp"/>
<android.support.v7.widget.AppCompatTextView
android:id="@+id/nameInDetailComments"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:textStyle="bold"
android:layout_alignTop="@+id/imageInDetailComments"
tools:text="Saqib"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_marginLeft="5dp"
android:textColor="#096697"
android:layout_toEndOf="@+id/imageInDetailComments"
android:layout_marginStart="5dp" />
<android.support.v7.widget.AppCompatRatingBar
android:id="@+id/ratingInDetailComments"
style="?android:attr/ratingBarStyleSmall"
android:layout_width="wrap_content"
android:max="5"
android:numStars="5"
android:progressBackgroundTint="@color/colorAccent"
android:progressTint="@color/colorAccent"
android:rating="0.0"
android:secondaryProgressTint="@color/colorAccent"
android:stepSize="0.0"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_marginLeft="5dp"
android:layout_below="@+id/nameInDetailComments"
android:layout_marginStart="5dp"
android:layout_toEndOf="@+id/imageInDetailComments" />
<android.support.v7.widget.AppCompatTextView
android:id="@+id/userCommentInDetailComments"
android:layout_width="0dp"
android:layout_below="@+id/ratingInDetailComments"
android:layout_alignParentRight="true"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginLeft="5dp"
android:background="#efeeee"
android:padding="5dp"
android:text="i can do it mate, my bidding price includes gotaskie fee"
/>
<View
android:layout_below="@+id/userCommentInDetailComments"
android:layout_marginTop="8dp"
android:id="@+id/lineAboveCommentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#dad8d8"
/>
</RelativeLayout>
</RelativeLayout>
</ScrollView>
I've been through several solutions over the stack overflow but could not achieve the desired result. I have a firebase recyclerview for a comment section. The firebase recyclerview exist with in the scroll view as am scroll some other part of the layout as well with the normal firebase recyclerview. I've set RecyclerView.setNestedScrollingEnabled(false), so the scrollview can scroll smoothly. right now I'm able to successfully scroll through out the layout but my problem only arises when I enter the activity the layout is shown from the top which is something, I don't want. I want the firebase recyclerview or the scroll view to be shown from the last item which is in the bottom. Also I want to the RecyclerView to automatically scroll to the last item position whenever the user enters a new comment
Any Help would be appreciated thank you
Below is my code
the code inside the oncreate for initialization
replyInDetailCommentsRecyclerView = findViewById(R.id.replyInDetailCommentsRecyclerView);
linearLayoutManager1 = new LinearLayoutManager(this);
replyInDetailCommentsRecyclerView.setLayoutManager(linearLayoutManager1);
replyInDetailCommentsRecyclerView.setNestedScrollingEnabled(false);
The code inside the firebase recyclerview, I've only added the relevant part to the problem. hope it helps
adapter1.startListening();
adapter1.notifyDataSetChanged();
adapter1.registerAdapterDataObserver(new RecyclerView.AdapterDataObserver()
@Override
public void onItemRangeInserted(int positionStart, int itemCount)
super.onItemRangeInserted(positionStart, itemCount);
int friendlyMessageCount = adapter1.getItemCount();
int lastVisiblePosition =
linearLayoutManager1.findLastCompletelyVisibleItemPosition();
if (lastVisiblePosition == -1
);
replyInDetailCommentsRecyclerView.setAdapter(adapter1);
adapter1.notifyDataSetChanged();
My XML Code
<ScrollView
android:layout_below="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:fillViewport="true"
android:fitsSystemWindows="true"
android:layout_marginBottom="50dp"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/RelativeLayout5"
android:layout_width="match_parent"
android:layout_below="@id/RelativeLayout1"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/RelativeLayout2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/RelativeLayout4">
<android.support.v7.widget.RecyclerView
android:id="@+id/replyInDetailCommentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
<RelativeLayout
android:id="@+id/RelativeLayout4"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/imageInDetailComments"
android:layout_width="30dp"
android:src="@drawable/profile"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_height="30dp"/>
<android.support.v7.widget.AppCompatTextView
android:id="@+id/nameInDetailComments"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:textStyle="bold"
android:layout_alignTop="@+id/imageInDetailComments"
tools:text="Saqib"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_marginLeft="5dp"
android:textColor="#096697"
android:layout_toEndOf="@+id/imageInDetailComments"
android:layout_marginStart="5dp" />
<android.support.v7.widget.AppCompatRatingBar
android:id="@+id/ratingInDetailComments"
style="?android:attr/ratingBarStyleSmall"
android:layout_width="wrap_content"
android:max="5"
android:numStars="5"
android:progressBackgroundTint="@color/colorAccent"
android:progressTint="@color/colorAccent"
android:rating="0.0"
android:secondaryProgressTint="@color/colorAccent"
android:stepSize="0.0"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_marginLeft="5dp"
android:layout_below="@+id/nameInDetailComments"
android:layout_marginStart="5dp"
android:layout_toEndOf="@+id/imageInDetailComments" />
<android.support.v7.widget.AppCompatTextView
android:id="@+id/userCommentInDetailComments"
android:layout_width="0dp"
android:layout_below="@+id/ratingInDetailComments"
android:layout_alignParentRight="true"
android:layout_toRightOf="@+id/imageInDetailComments"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginLeft="5dp"
android:background="#efeeee"
android:padding="5dp"
android:text="i can do it mate, my bidding price includes gotaskie fee"
/>
<View
android:layout_below="@+id/userCommentInDetailComments"
android:layout_marginTop="8dp"
android:id="@+id/lineAboveCommentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#dad8d8"
/>
</RelativeLayout>
</RelativeLayout>
</ScrollView>
edited Mar 8 at 5:09
Abhishek Singh
4,15011536
4,15011536
asked Mar 8 at 4:01
joe walkerjoe walker
76
76
Some suggestions for you. First useNestedScrollViewinstead ofScrollView. You question is unclear provide snapshots also you are asking for features which you didn't coded. SO is only for bug fixes you can't ask like i want this i want that.
– Abhishek Singh
Mar 8 at 5:14
add a comment |
Some suggestions for you. First useNestedScrollViewinstead ofScrollView. You question is unclear provide snapshots also you are asking for features which you didn't coded. SO is only for bug fixes you can't ask like i want this i want that.
– Abhishek Singh
Mar 8 at 5:14
Some suggestions for you. First use
NestedScrollView instead of ScrollView. You question is unclear provide snapshots also you are asking for features which you didn't coded. SO is only for bug fixes you can't ask like i want this i want that.– Abhishek Singh
Mar 8 at 5:14
Some suggestions for you. First use
NestedScrollView instead of ScrollView. You question is unclear provide snapshots also you are asking for features which you didn't coded. SO is only for bug fixes you can't ask like i want this i want that.– Abhishek Singh
Mar 8 at 5:14
add a comment |
1 Answer
1
active
oldest
votes
You can use NestedScrollView instead of ScrollView
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%2f55056536%2fscroll-firebase-recyclerview-inside-a-scrollview-to-the-last-item-inserted%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
You can use NestedScrollView instead of ScrollView
add a comment |
You can use NestedScrollView instead of ScrollView
add a comment |
You can use NestedScrollView instead of ScrollView
You can use NestedScrollView instead of ScrollView
answered Mar 8 at 4:51
Naufal PrakosoNaufal Prakoso
208
208
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%2f55056536%2fscroll-firebase-recyclerview-inside-a-scrollview-to-the-last-item-inserted%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
Some suggestions for you. First use
NestedScrollViewinstead ofScrollView. You question is unclear provide snapshots also you are asking for features which you didn't coded. SO is only for bug fixes you can't ask like i want this i want that.– Abhishek Singh
Mar 8 at 5:14