« first day (2929 days earlier)      last day (2031 days later) » 
00:00 - 15:0015:00 - 00:00

3:00 PM
 
no thanks
 
3:17 PM
XD
 
I put a bounty on that question. Hope it works.
 
Oh well, now I got to answer
jk, never used it
 
@AdamMc331 you ever done instant app stuff?
 
@AdamMc331 looks easy enough notifyItemChanged(position) doesnt work?
 
@MarkO'Sullivan I have not
@ColdFire Not quite because I need to update that specific item in the pagedlist first
 
3:30 PM
yes but why cant you just get that item from adapter update it and call the notifyItemChanged(position) method?
 
hmm
I'm not sure it's that simple
but I'll see I might be able to do that
 
this project is driving me nuts
(╯°□°)╯︵ ┻━┻
 
@AdamMc331 PagedListAdapter uses a DiffUtil.ItemCallback that will only update an existing item if the DiffUtil.ItemCallback considers it a "new" item. It seems to me that you do need to go to the server in order to get the new view count, but also you do not want unaffected items to redraw. This can be prevented by adding the view count property to the DiffUtil.ItemCallback. Items with a new view count will be redraw, others won't.
that would be my answer
I am assuming that the original request to display the first list has a field that shows how many views an item has
 
3:52 PM
Hmm makes sense but now I'm realizing my scenario might be a little different than OPs lol
 
The other thing emm is, the views won't redraw if the contents are the same, so going to the server isn't a problem EXCEPT
 
@W0MP3R what project?
@AdamMc331 meh looks easy enough i do this all the time without issue
 
Let's say I pull in pages of 10, but I scroll down and click on a view near the bottom. The paging request would have to start over from the beginning, wouldn't it?
and so my list actually goes back down to 10 items
 
no
 
3:54 PM
One i'm doing at work, CF
 
is it microsoft or php by anychance?
 
@AdamMc331 probably you will need to keep track of the position of the item that was clicked and do some number magic to just request that page?
is it worth posting my answer to that question?
 
Yeah - because the focus is updating that particular item and making sure the diff util is aware that it needs to redraw that item.
My problem goes a step further - I know the item updated, but I need to know "how" and I can sort that out, but knowing how to update that position is what matters.
I'm gonna step away for lunch soon but I will take care of the bounty at some point. I don't know if I can award it right away anyways.
 
clickedItemPosition/pageSize will give you the page the new item is found
 
needs the bountiezzzzzzzz
 
4:04 PM
You do not have to award it, only if it helps answering the question
 
@Emmanuel is pageSize the number of pages you've requested?
 
it is the size of the page
I am assuming that the endpoint works based on which page it should return now
 
ours uses cursors, so the request is like /api/blah/endpoint?after=shdjfhasdkj
 
if you have it hooked up like that it might be even simpler
like android Cursors?
 
nah like each time I request it gives me a next key, not a page number. but it works a similar way.
 
4:10 PM
that might be a bit tricky
since there is not a direct correlation from cursor to items on a page
but you can still save the cursor that corresponds to the clicked item
and just request that page
 
user443346
@TimCastelijns See u at Ajax - Benfica tonight!
 
We're probably gonna create another endpoint or some sort of callback from the web that says "hey, they modified this item here's what it looks like now" and I would swap that out
 
o/
 
hey trevor!
 
hey, long time seeing you here
 
4:20 PM
yeah, how have things been?
still at KAYAK?
 
yup, doing iOS dev
 
oh snap
no more Android for you?
 
nah, not for the last 2.5 years haha
Swift fanboi now
 
oh man I am so out of it haha
 
@ColdFire anything insect-like and > 5mm is a big nope for me
 
4:30 PM
haha
that answers give me the creeps lol
 
or jellylike for that matter :D
that little monster looks like a leech
 
4:46 PM
Rodrigo Graça requested access. Rep: 153 - Questions: 6 - Answers: 12 (ratio 4:8)
 
5:04 PM
-1
Q: JobScheduler is not working in Xiaomi when app is not in background and auto-start option is disabled

VeluI want to run a task in my app everyday, I am using JobScheduler for it and works fine in stock OS, but when I try to run it in phones which has custom ROM (Xiaomi) it doesn't work unless I explicitly enable auto-start option for the app in security. Is there any solution for this, how are other ...

this is why most devs hate chinese manufactured phones.
 
there is a special test in hell for tests that pass some of the time
 
🎉You can now request an invite for #FlutterLive 🎉 Seating is limited for this two hour event, but don't worry: the entire event will be livestreamed! Be sure to also register for one of our global viewing parties or tune in from home. Sign up here → http://g.co/FlutterLive
 
5:38 PM
the guy in the foreground is holding in a fart
3
 
user443346
:d
 
@ColdFire I knew about them, they're scary. Although not so common where I live at
(thankfully)
 
yikes
 
5:58 PM
o/
 
!accept
 
@RodrigoGraça welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
Oh, that's a PT name
 
@Ahmad I don't know yet, it's a really rough decision and it's stressing me out
 
I have read and understood the rules
@Mauker Yes it is :)
I'm suddenly having issues with gradle/jcenter........
is some server down or something?
 
6:21 PM
@RodrigoGraça Welcome!
 
6:35 PM
@Jordy ":d" reminds me of the MSN days :D
 
@RodrigoGraça No issues here, is it happening on all projects? (Have you tried opening a different project just to rule out an issue with the one you're currently running)
 
6:56 PM
Jonathon requested access. Rep: 35 - Questions: 13 - Answers: 2 (ratio 4:0.6)
 
7:16 PM
o/
@Mauker ah yeah the answer says they are found in the amazon , not sure how far you live from amazon
 
Not that far
My state is considered the edge of the amazon forest
 
Nice! did you ever visit some of it?
 
Yes!
But not on the state of Amazonas, which is basically the heart of the forest
the farthest I went was to the state of Pará
 
I'm jealous XD
lucky you
been wanting to visit the amazon since I was ~5 or so
 
It's really nice!
And beautiful
 
7:26 PM
I know :D
 
I got to know some natives as well
 
(everything besides insects, i don't quite go along with these Little creatures)
 
saw them using their bows
 
How did you communicate with them?
You hired a guide?
 
We had a guide, yes, but they also speak portuguese
 
7:30 PM
Because of cities getting closer? TV? Or maybe their kids who went to school?
 
@AdamMc331 great idea.
 
@Mauker hmm i see
 
@MehdiB. Those ones were involved with "us" already
they weren't one of those "untouched" tribes
 
It is happening in other projects....
I've cleaned the gradle cache so Its downloading everything again and another package failed in another project:
"Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1"
" Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar "
 
@Mauker are those "untouched" tribes legally forbidden to approach? or they just don't like company?
 
7:39 PM
!reject
 
@Jonathon you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
@Mauker oh we too have untouched tribes that still live in stone age
they are legally forbidden to be disturbed :D
 
@RodrigoGraça Does Android Studio give you any hints like "add the google() maven repository" or something like that? Sorry, I'm guessing on past experiences since I can't recreate the issue.
 
Its a cordova/ionic project so I didnt open Studio yet... I read about that and checked the gradle files and they seemed ok....
Opening studio with a third project complained about gradle again, told me to add google, I did it and error again but less things missing....
 
ooo I haven't used ionic. @CptEric if you're around your time has come
 
7:51 PM
@MehdiB. I'm not sure, but they might be
Probably are
 
Thanks (y)
 
8:42 PM
!reject
 
@javadaskari you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
@javadaskari there was an error in the system. You meet the requirements. Please access again
if you have complaints please direct them towards adammc331
 
@javadaskari Unfortunately the complaints department has moved please invite @TimCastelijns into a private chat, repeatedly, until he responds, to submit your complaints
 
Hmm... gears are moving smoothly around here...
 
8:57 PM
yep
 
You ditched that gif like it was a keystore in 2015
 
I should buy a cave
This sunlight stuff is getting out of hand
 
just add solar panels
shade + more cycles
 
Little hard to do that when you rent
 
I meant to your chassis
 
9:11 PM
This is but temporary, only a stopgap measure until we achieve The Second Upgrade
 
I've been developing Android apps for 3 years and I just now realized you can edit the logcat header, so you can remove the long dates which are a pain when you need to copy things from the logcat.
 
that's the most important part bro
 
just use a text editor that supports column editing
 
ô/
@trevor-e it's been 2.5 years?!
damn
seems like a lot less
 
9:27 PM
@trevor-e that's usually what I do lol
 
I have acquired dumplings
And coffee
 
robots don't need food
also new zealand doesn't have dumplings
only sheeps
 
files "Uninformed Ahmad" under Exhibit 287461 for why humans can be recycled
 
I don't need to be recycled
I should be marked for immediate consumption
for juicy thighs
 
Sorry, there wasn't enough demand, so you're being recycled instead
 
9:34 PM
bro
 
Just plain economics, mate
2
 
i'm offended
 
Raghav is more of a breast/wings guy, not into the legs/thighs
 
So hard to get good wings in NZ
 
I will grow wings
by drinking enough redbull
 
9:42 PM
files under Exhibit 287462 for why humans can be recycled
 
10:09 PM
@Ahmad yea man June 2016
 
11:02 PM
:0
was chat down for someone else?
 
No.
 
why so serious m8y
 
11:20 PM
I'm never serious
I'm a very jovial being
 
:]
are you this jolly tho^
 
I will be once the recycling plants are up
 
:[
 
How's life in the bay
 
@TristanWiley we have one person at yelp from make school and he just dropped out to join full time
@RaghavSood love it <3
i don't want to leave
but i'll have to
and it's making me sad
 
11:30 PM
Move to canada
smoke away weed out your sorrows
 
LMAO
weed is legal in CA as well
 
Only locally though
Hard to travel and still be sorrow free
 
11:47 PM
;_;
existence is pain no matter where you go
 
particularly painful if you have to listen to this conversation while not being in Canada with access to their foliage
 
come to cali
dispensary on every corner
 
I have a trip planned, gonna blow right by your house, but got a flight to catch so don't even try to meet up sry
AZ has medical dispensaries also
 
LMAOOO
it's okay mate i only live 16 mins from sfo
 
I'm just gonna see the golden gate bridge then dip
 
11:59 PM
I just deleted the "be bothered by things that are irrelevant or outside your control" module\
Now I live a fairly happy life
 
🙌
 
00:00 - 15:0015:00 - 00:00

« first day (2929 days earlier)      last day (2031 days later) »