How to scroll discretely in recylcer view with gridlayoutmanager?












0















I'm using a recyclerView with GridLayoutManager and I've set it to scroll horizontally. i want it to scroll discretely. This is how its displaying when i launch it.



Current display



and when i scroll it even a little bit it should keep scrolling until the next item is completely visible aka discretely and not stop before that . it should look like this.



like this



and it should end like this.
Not like this



How can i scroll discretely like that ? Any guidance or help would be highly appreciated!!










share|improve this question























  • what do you mean by scroll discretely?

    – Suraj Vaishnav
    Nov 23 '18 at 9:36






  • 1





    There is a technique called SnapHelper which scrolls discretely. Refere this link blog.mindorks.com/using-snaphelper-in-recyclerview-fc616b6833e8

    – Ashish Kudale
    Nov 23 '18 at 9:47











  • @AshishKudale.. Yeah got it. Thanks mate

    – Muhammad Abdullah
    Nov 24 '18 at 5:56
















0















I'm using a recyclerView with GridLayoutManager and I've set it to scroll horizontally. i want it to scroll discretely. This is how its displaying when i launch it.



Current display



and when i scroll it even a little bit it should keep scrolling until the next item is completely visible aka discretely and not stop before that . it should look like this.



like this



and it should end like this.
Not like this



How can i scroll discretely like that ? Any guidance or help would be highly appreciated!!










share|improve this question























  • what do you mean by scroll discretely?

    – Suraj Vaishnav
    Nov 23 '18 at 9:36






  • 1





    There is a technique called SnapHelper which scrolls discretely. Refere this link blog.mindorks.com/using-snaphelper-in-recyclerview-fc616b6833e8

    – Ashish Kudale
    Nov 23 '18 at 9:47











  • @AshishKudale.. Yeah got it. Thanks mate

    – Muhammad Abdullah
    Nov 24 '18 at 5:56














0












0








0








I'm using a recyclerView with GridLayoutManager and I've set it to scroll horizontally. i want it to scroll discretely. This is how its displaying when i launch it.



Current display



and when i scroll it even a little bit it should keep scrolling until the next item is completely visible aka discretely and not stop before that . it should look like this.



like this



and it should end like this.
Not like this



How can i scroll discretely like that ? Any guidance or help would be highly appreciated!!










share|improve this question














I'm using a recyclerView with GridLayoutManager and I've set it to scroll horizontally. i want it to scroll discretely. This is how its displaying when i launch it.



Current display



and when i scroll it even a little bit it should keep scrolling until the next item is completely visible aka discretely and not stop before that . it should look like this.



like this



and it should end like this.
Not like this



How can i scroll discretely like that ? Any guidance or help would be highly appreciated!!







android user-interface horizontal-scrolling






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 23 '18 at 9:17









Muhammad AbdullahMuhammad Abdullah

308




308













  • what do you mean by scroll discretely?

    – Suraj Vaishnav
    Nov 23 '18 at 9:36






  • 1





    There is a technique called SnapHelper which scrolls discretely. Refere this link blog.mindorks.com/using-snaphelper-in-recyclerview-fc616b6833e8

    – Ashish Kudale
    Nov 23 '18 at 9:47











  • @AshishKudale.. Yeah got it. Thanks mate

    – Muhammad Abdullah
    Nov 24 '18 at 5:56



















  • what do you mean by scroll discretely?

    – Suraj Vaishnav
    Nov 23 '18 at 9:36






  • 1





    There is a technique called SnapHelper which scrolls discretely. Refere this link blog.mindorks.com/using-snaphelper-in-recyclerview-fc616b6833e8

    – Ashish Kudale
    Nov 23 '18 at 9:47











  • @AshishKudale.. Yeah got it. Thanks mate

    – Muhammad Abdullah
    Nov 24 '18 at 5:56

















what do you mean by scroll discretely?

– Suraj Vaishnav
Nov 23 '18 at 9:36





what do you mean by scroll discretely?

– Suraj Vaishnav
Nov 23 '18 at 9:36




1




1





There is a technique called SnapHelper which scrolls discretely. Refere this link blog.mindorks.com/using-snaphelper-in-recyclerview-fc616b6833e8

– Ashish Kudale
Nov 23 '18 at 9:47





There is a technique called SnapHelper which scrolls discretely. Refere this link blog.mindorks.com/using-snaphelper-in-recyclerview-fc616b6833e8

– Ashish Kudale
Nov 23 '18 at 9:47













@AshishKudale.. Yeah got it. Thanks mate

– Muhammad Abdullah
Nov 24 '18 at 5:56





@AshishKudale.. Yeah got it. Thanks mate

– Muhammad Abdullah
Nov 24 '18 at 5:56












1 Answer
1






active

oldest

votes


















0














I have used SnapHelper in my project, just make a class in your util package and do like this.



public class MySnapHelper extends LinearSnapHelper {

private OrientationHelper verticalHelper, horizontalHelper;

public MySnapHelper() {

}

@Override
public void attachToRecyclerView(@Nullable RecyclerView recyclerView)
throws IllegalStateException {
super.attachToRecyclerView(recyclerView);
}

@Override
public int calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager,
@NonNull View targetView) {
int out = new int[2];

if (layoutManager.canScrollHorizontally()) {
out[0] = distanceToStart(targetView, getHorizontalHelper(layoutManager));
} else {
out[0] = 0;
}

if (layoutManager.canScrollVertically()) {
out[1] = distanceToStart(targetView, getVerticalHelper(layoutManager));
} else {
out[1] = 0;
}
return out;
}

@Override
public View findSnapView(RecyclerView.LayoutManager layoutManager) {

if (layoutManager instanceof LinearLayoutManager) {

if (layoutManager.canScrollHorizontally()) {
return getStartView(layoutManager, getHorizontalHelper(layoutManager));
} else {
return getStartView(layoutManager, getVerticalHelper(layoutManager));
}
}

return super.findSnapView(layoutManager);
}

private int distanceToStart(View targetView, OrientationHelper helper) {
return helper.getDecoratedStart(targetView) - helper.getStartAfterPadding();
}

private View getStartView(RecyclerView.LayoutManager layoutManager,
OrientationHelper helper) {

if (layoutManager instanceof LinearLayoutManager) {
int firstChild = ((LinearLayoutManager) layoutManager).findFirstVisibleItemPosition();

boolean isLastItem = ((LinearLayoutManager) layoutManager)
.findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1;

if (firstChild == RecyclerView.NO_POSITION || isLastItem) {
return null;
}

View child = layoutManager.findViewByPosition(firstChild);

if (helper.getDecoratedEnd(child) >= helper.getDecoratedMeasurement(child) / 2
&& helper.getDecoratedEnd(child) > 0) {
return child;
} else {
if (((LinearLayoutManager) layoutManager).findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1) {
return null;
} else {
return layoutManager.findViewByPosition(firstChild + 1);
}
}
}

return super.findSnapView(layoutManager);
}

private OrientationHelper getVerticalHelper(RecyclerView.LayoutManager layoutManager) {
if (verticalHelper == null) {
verticalHelper = OrientationHelper.createVerticalHelper(layoutManager);
}
return verticalHelper;
}

private OrientationHelper getHorizontalHelper(RecyclerView.LayoutManager layoutManager) {
if (horizontalHelper == null) {
horizontalHelper = OrientationHelper.createHorizontalHelper(layoutManager);
}
return horizontalHelper;
}


}



and then just attach it with your recyclerview like this:



SnapHelper mySnapHelper = new MySnapHelper ();
mySnapHelper.attachToRecyclerView(mRecyclerView);





share|improve this answer
























  • Thank you so much. This was exactly what i needed. Highly Appreciated :)

    – Muhammad Abdullah
    Nov 24 '18 at 5:55











  • Please vote up if you found it helpful for you

    – Taha wakeel
    Nov 25 '18 at 10:35











  • Already done...

    – Muhammad Abdullah
    Nov 25 '18 at 21:05











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53443695%2fhow-to-scroll-discretely-in-recylcer-view-with-gridlayoutmanager%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









0














I have used SnapHelper in my project, just make a class in your util package and do like this.



public class MySnapHelper extends LinearSnapHelper {

private OrientationHelper verticalHelper, horizontalHelper;

public MySnapHelper() {

}

@Override
public void attachToRecyclerView(@Nullable RecyclerView recyclerView)
throws IllegalStateException {
super.attachToRecyclerView(recyclerView);
}

@Override
public int calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager,
@NonNull View targetView) {
int out = new int[2];

if (layoutManager.canScrollHorizontally()) {
out[0] = distanceToStart(targetView, getHorizontalHelper(layoutManager));
} else {
out[0] = 0;
}

if (layoutManager.canScrollVertically()) {
out[1] = distanceToStart(targetView, getVerticalHelper(layoutManager));
} else {
out[1] = 0;
}
return out;
}

@Override
public View findSnapView(RecyclerView.LayoutManager layoutManager) {

if (layoutManager instanceof LinearLayoutManager) {

if (layoutManager.canScrollHorizontally()) {
return getStartView(layoutManager, getHorizontalHelper(layoutManager));
} else {
return getStartView(layoutManager, getVerticalHelper(layoutManager));
}
}

return super.findSnapView(layoutManager);
}

private int distanceToStart(View targetView, OrientationHelper helper) {
return helper.getDecoratedStart(targetView) - helper.getStartAfterPadding();
}

private View getStartView(RecyclerView.LayoutManager layoutManager,
OrientationHelper helper) {

if (layoutManager instanceof LinearLayoutManager) {
int firstChild = ((LinearLayoutManager) layoutManager).findFirstVisibleItemPosition();

boolean isLastItem = ((LinearLayoutManager) layoutManager)
.findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1;

if (firstChild == RecyclerView.NO_POSITION || isLastItem) {
return null;
}

View child = layoutManager.findViewByPosition(firstChild);

if (helper.getDecoratedEnd(child) >= helper.getDecoratedMeasurement(child) / 2
&& helper.getDecoratedEnd(child) > 0) {
return child;
} else {
if (((LinearLayoutManager) layoutManager).findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1) {
return null;
} else {
return layoutManager.findViewByPosition(firstChild + 1);
}
}
}

return super.findSnapView(layoutManager);
}

private OrientationHelper getVerticalHelper(RecyclerView.LayoutManager layoutManager) {
if (verticalHelper == null) {
verticalHelper = OrientationHelper.createVerticalHelper(layoutManager);
}
return verticalHelper;
}

private OrientationHelper getHorizontalHelper(RecyclerView.LayoutManager layoutManager) {
if (horizontalHelper == null) {
horizontalHelper = OrientationHelper.createHorizontalHelper(layoutManager);
}
return horizontalHelper;
}


}



and then just attach it with your recyclerview like this:



SnapHelper mySnapHelper = new MySnapHelper ();
mySnapHelper.attachToRecyclerView(mRecyclerView);





share|improve this answer
























  • Thank you so much. This was exactly what i needed. Highly Appreciated :)

    – Muhammad Abdullah
    Nov 24 '18 at 5:55











  • Please vote up if you found it helpful for you

    – Taha wakeel
    Nov 25 '18 at 10:35











  • Already done...

    – Muhammad Abdullah
    Nov 25 '18 at 21:05
















0














I have used SnapHelper in my project, just make a class in your util package and do like this.



public class MySnapHelper extends LinearSnapHelper {

private OrientationHelper verticalHelper, horizontalHelper;

public MySnapHelper() {

}

@Override
public void attachToRecyclerView(@Nullable RecyclerView recyclerView)
throws IllegalStateException {
super.attachToRecyclerView(recyclerView);
}

@Override
public int calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager,
@NonNull View targetView) {
int out = new int[2];

if (layoutManager.canScrollHorizontally()) {
out[0] = distanceToStart(targetView, getHorizontalHelper(layoutManager));
} else {
out[0] = 0;
}

if (layoutManager.canScrollVertically()) {
out[1] = distanceToStart(targetView, getVerticalHelper(layoutManager));
} else {
out[1] = 0;
}
return out;
}

@Override
public View findSnapView(RecyclerView.LayoutManager layoutManager) {

if (layoutManager instanceof LinearLayoutManager) {

if (layoutManager.canScrollHorizontally()) {
return getStartView(layoutManager, getHorizontalHelper(layoutManager));
} else {
return getStartView(layoutManager, getVerticalHelper(layoutManager));
}
}

return super.findSnapView(layoutManager);
}

private int distanceToStart(View targetView, OrientationHelper helper) {
return helper.getDecoratedStart(targetView) - helper.getStartAfterPadding();
}

private View getStartView(RecyclerView.LayoutManager layoutManager,
OrientationHelper helper) {

if (layoutManager instanceof LinearLayoutManager) {
int firstChild = ((LinearLayoutManager) layoutManager).findFirstVisibleItemPosition();

boolean isLastItem = ((LinearLayoutManager) layoutManager)
.findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1;

if (firstChild == RecyclerView.NO_POSITION || isLastItem) {
return null;
}

View child = layoutManager.findViewByPosition(firstChild);

if (helper.getDecoratedEnd(child) >= helper.getDecoratedMeasurement(child) / 2
&& helper.getDecoratedEnd(child) > 0) {
return child;
} else {
if (((LinearLayoutManager) layoutManager).findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1) {
return null;
} else {
return layoutManager.findViewByPosition(firstChild + 1);
}
}
}

return super.findSnapView(layoutManager);
}

private OrientationHelper getVerticalHelper(RecyclerView.LayoutManager layoutManager) {
if (verticalHelper == null) {
verticalHelper = OrientationHelper.createVerticalHelper(layoutManager);
}
return verticalHelper;
}

private OrientationHelper getHorizontalHelper(RecyclerView.LayoutManager layoutManager) {
if (horizontalHelper == null) {
horizontalHelper = OrientationHelper.createHorizontalHelper(layoutManager);
}
return horizontalHelper;
}


}



and then just attach it with your recyclerview like this:



SnapHelper mySnapHelper = new MySnapHelper ();
mySnapHelper.attachToRecyclerView(mRecyclerView);





share|improve this answer
























  • Thank you so much. This was exactly what i needed. Highly Appreciated :)

    – Muhammad Abdullah
    Nov 24 '18 at 5:55











  • Please vote up if you found it helpful for you

    – Taha wakeel
    Nov 25 '18 at 10:35











  • Already done...

    – Muhammad Abdullah
    Nov 25 '18 at 21:05














0












0








0







I have used SnapHelper in my project, just make a class in your util package and do like this.



public class MySnapHelper extends LinearSnapHelper {

private OrientationHelper verticalHelper, horizontalHelper;

public MySnapHelper() {

}

@Override
public void attachToRecyclerView(@Nullable RecyclerView recyclerView)
throws IllegalStateException {
super.attachToRecyclerView(recyclerView);
}

@Override
public int calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager,
@NonNull View targetView) {
int out = new int[2];

if (layoutManager.canScrollHorizontally()) {
out[0] = distanceToStart(targetView, getHorizontalHelper(layoutManager));
} else {
out[0] = 0;
}

if (layoutManager.canScrollVertically()) {
out[1] = distanceToStart(targetView, getVerticalHelper(layoutManager));
} else {
out[1] = 0;
}
return out;
}

@Override
public View findSnapView(RecyclerView.LayoutManager layoutManager) {

if (layoutManager instanceof LinearLayoutManager) {

if (layoutManager.canScrollHorizontally()) {
return getStartView(layoutManager, getHorizontalHelper(layoutManager));
} else {
return getStartView(layoutManager, getVerticalHelper(layoutManager));
}
}

return super.findSnapView(layoutManager);
}

private int distanceToStart(View targetView, OrientationHelper helper) {
return helper.getDecoratedStart(targetView) - helper.getStartAfterPadding();
}

private View getStartView(RecyclerView.LayoutManager layoutManager,
OrientationHelper helper) {

if (layoutManager instanceof LinearLayoutManager) {
int firstChild = ((LinearLayoutManager) layoutManager).findFirstVisibleItemPosition();

boolean isLastItem = ((LinearLayoutManager) layoutManager)
.findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1;

if (firstChild == RecyclerView.NO_POSITION || isLastItem) {
return null;
}

View child = layoutManager.findViewByPosition(firstChild);

if (helper.getDecoratedEnd(child) >= helper.getDecoratedMeasurement(child) / 2
&& helper.getDecoratedEnd(child) > 0) {
return child;
} else {
if (((LinearLayoutManager) layoutManager).findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1) {
return null;
} else {
return layoutManager.findViewByPosition(firstChild + 1);
}
}
}

return super.findSnapView(layoutManager);
}

private OrientationHelper getVerticalHelper(RecyclerView.LayoutManager layoutManager) {
if (verticalHelper == null) {
verticalHelper = OrientationHelper.createVerticalHelper(layoutManager);
}
return verticalHelper;
}

private OrientationHelper getHorizontalHelper(RecyclerView.LayoutManager layoutManager) {
if (horizontalHelper == null) {
horizontalHelper = OrientationHelper.createHorizontalHelper(layoutManager);
}
return horizontalHelper;
}


}



and then just attach it with your recyclerview like this:



SnapHelper mySnapHelper = new MySnapHelper ();
mySnapHelper.attachToRecyclerView(mRecyclerView);





share|improve this answer













I have used SnapHelper in my project, just make a class in your util package and do like this.



public class MySnapHelper extends LinearSnapHelper {

private OrientationHelper verticalHelper, horizontalHelper;

public MySnapHelper() {

}

@Override
public void attachToRecyclerView(@Nullable RecyclerView recyclerView)
throws IllegalStateException {
super.attachToRecyclerView(recyclerView);
}

@Override
public int calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager,
@NonNull View targetView) {
int out = new int[2];

if (layoutManager.canScrollHorizontally()) {
out[0] = distanceToStart(targetView, getHorizontalHelper(layoutManager));
} else {
out[0] = 0;
}

if (layoutManager.canScrollVertically()) {
out[1] = distanceToStart(targetView, getVerticalHelper(layoutManager));
} else {
out[1] = 0;
}
return out;
}

@Override
public View findSnapView(RecyclerView.LayoutManager layoutManager) {

if (layoutManager instanceof LinearLayoutManager) {

if (layoutManager.canScrollHorizontally()) {
return getStartView(layoutManager, getHorizontalHelper(layoutManager));
} else {
return getStartView(layoutManager, getVerticalHelper(layoutManager));
}
}

return super.findSnapView(layoutManager);
}

private int distanceToStart(View targetView, OrientationHelper helper) {
return helper.getDecoratedStart(targetView) - helper.getStartAfterPadding();
}

private View getStartView(RecyclerView.LayoutManager layoutManager,
OrientationHelper helper) {

if (layoutManager instanceof LinearLayoutManager) {
int firstChild = ((LinearLayoutManager) layoutManager).findFirstVisibleItemPosition();

boolean isLastItem = ((LinearLayoutManager) layoutManager)
.findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1;

if (firstChild == RecyclerView.NO_POSITION || isLastItem) {
return null;
}

View child = layoutManager.findViewByPosition(firstChild);

if (helper.getDecoratedEnd(child) >= helper.getDecoratedMeasurement(child) / 2
&& helper.getDecoratedEnd(child) > 0) {
return child;
} else {
if (((LinearLayoutManager) layoutManager).findLastCompletelyVisibleItemPosition()
== layoutManager.getItemCount() - 1) {
return null;
} else {
return layoutManager.findViewByPosition(firstChild + 1);
}
}
}

return super.findSnapView(layoutManager);
}

private OrientationHelper getVerticalHelper(RecyclerView.LayoutManager layoutManager) {
if (verticalHelper == null) {
verticalHelper = OrientationHelper.createVerticalHelper(layoutManager);
}
return verticalHelper;
}

private OrientationHelper getHorizontalHelper(RecyclerView.LayoutManager layoutManager) {
if (horizontalHelper == null) {
horizontalHelper = OrientationHelper.createHorizontalHelper(layoutManager);
}
return horizontalHelper;
}


}



and then just attach it with your recyclerview like this:



SnapHelper mySnapHelper = new MySnapHelper ();
mySnapHelper.attachToRecyclerView(mRecyclerView);






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 23 '18 at 10:12









Taha wakeelTaha wakeel

896




896













  • Thank you so much. This was exactly what i needed. Highly Appreciated :)

    – Muhammad Abdullah
    Nov 24 '18 at 5:55











  • Please vote up if you found it helpful for you

    – Taha wakeel
    Nov 25 '18 at 10:35











  • Already done...

    – Muhammad Abdullah
    Nov 25 '18 at 21:05



















  • Thank you so much. This was exactly what i needed. Highly Appreciated :)

    – Muhammad Abdullah
    Nov 24 '18 at 5:55











  • Please vote up if you found it helpful for you

    – Taha wakeel
    Nov 25 '18 at 10:35











  • Already done...

    – Muhammad Abdullah
    Nov 25 '18 at 21:05

















Thank you so much. This was exactly what i needed. Highly Appreciated :)

– Muhammad Abdullah
Nov 24 '18 at 5:55





Thank you so much. This was exactly what i needed. Highly Appreciated :)

– Muhammad Abdullah
Nov 24 '18 at 5:55













Please vote up if you found it helpful for you

– Taha wakeel
Nov 25 '18 at 10:35





Please vote up if you found it helpful for you

– Taha wakeel
Nov 25 '18 at 10:35













Already done...

– Muhammad Abdullah
Nov 25 '18 at 21:05





Already done...

– Muhammad Abdullah
Nov 25 '18 at 21:05


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53443695%2fhow-to-scroll-discretely-in-recylcer-view-with-gridlayoutmanager%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

Refactoring coordinates for Minecraft Pi buildings written in Python