I’m using a `PagerSnapHelper` to snap a CardView w...
# android
c
I’m using a
PagerSnapHelper
to snap a CardView within my RecyclerView to the screen, and that works great. However, I’m trying to get the index of the current position on screen so that when I reach the end of the list of cards, i can run a pagination request to my API to receive the next set of data to attach to the recycler. Is there a good way to manage doing this? EDIT: No, telling me to Slack Overflow/Google it doesn’t make you a better developer (I already tried them). It just makes you an asshole.
google 2
stackoverflow 2
o
Is there a specific Kotlin issue you’re experiencing? If yes, please specify the Kotlin issue. If there isn’t one, please refrain from polluting this channel by this noise. There are appropriate places to ask and this channel ain’t it. Let’s keep our space clean. Disrespecting rules and wasting the time of 31k people is very rude. https://kotlinlang.slack.com/archives/C0922A726/p1605600951384800
j
Aside from what Ondrej wrote, I don't think the people, who tell you to google/stackoverflow, do that because they want to become better developers themselves. I think they do it so you will become a better developer yourself. Many problems have already been solved by someone else, the internet/stack overflow can help you find those answers. If you learn how to google things efficiently, you will be able to find answers faster than having to wait for a reply. Knowing how to search for information is a valuable skill and I advise you to invest in that.
👍 1