« first day (2813 days earlier)      last day (2136 days later) » 

3:39 AM
@InsaneCat good morning
 
yoo@NileshRathod VGM :)
 
5:04 AM
@InsaneCat yo buddy
 
Good Morning
 
5:33 AM
When swiping through ViewPager, how can I know that the fragment was already loaded once? So, first time I need to get data from API, next time I come back to this fragment after some swiping, I want to tell repository to just return the cache if present.
Maybe save instance state.
Or maybe add a last_accessed_millis to repository, and assume some duration of cache life.
Is this right?
 
Good morning :)
 
5:56 AM
o/
Any alternative to github.com/MEiDIK/Cipher.so ?
 
Android has a keystore
 
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ooooooooooood Morning Everyone!!!!!! :D
 
6:24 AM
Oh yes, I missed that.
thanks.
Good morning, womper.
 
 
1 hour later…
7:35 AM
o/
 
@rupinderjeet the repo doesn't know about the fragment. It only knows about data. It knows if it already has data or if it should go fetch it. The condition under which you invalidate the cache is up to you
 
7:55 AM
\o
 
8:13 AM
@DipinPJ you need 80+ rep to chat here
@User you need a Q:A ratio of 4:3+ to chat here
 
8:48 AM
@MohammadYahfoufi you cannot use chat
 
 
1 hour later…
10:01 AM
461
A: Print JSON parsed object?

cHaoYou know what JSON stands for? JavaScript Object Notation. It makes a pretty good format for objects. JSON.stringify(obj) will give you back a string representation of the object.

 
 
2 hours later…
12:15 PM
o/
 
eric, "Siri está llamando a su teléfono." is this right translation for "Siri is ringing your phone" ?
 
@I.d007 you are going on the ban list for repeatedly requesting access without meeting the requirements. We have explained it enough times.
 
@TimCastelijns Can the fragment tell presenter to force refresh? Like this.
public void refresh (boolean force) {

	if (force) {
		repository.invalidateCache();
	}

	repository.fetchFruits();
}
 
no
the fragment can only inform the presenter of events that happened
presenter decides what to do with it
 
So, I call presenter.onRefreshRequested() when user pulls down swipeRefreshLayout, which then calls above method like refresh(true). Is this right?
 
12:29 PM
@AdamMc331 do you know why kotlin requires round brackets for if statements and the like? I forget this all the time and it bothers me
yeah can do rup
 
12:43 PM
Getting to know if this fragment has already appeared once or not in ViewPager is just boolean magic, right? Even then, View is going to provide this boolean to Presenter somehow.
view.isFragmentCachedAlready()
 
no
presenter does not know about fragments
or viewpager
 
@TimCastelijns I don't know why, but why would you ever want if myCondition { }? I don't think that's super readable.
 
because fuck rounded brackets
python doesn't have them, it is very pleasant on the eye actually
 
and, you disapprove presenter.fetchFruits(boolean force) as well.
omg
I got it.
Presenter just saves boolean for if it has made the Api call already or not.
right?
this must be it.
But, new fragment means new instance of presenter.
or I should create presenter only if presenter is null.
 
no the presenter does not save a boolean for that
it just calls the repo whenever data is required. The repo can check if the data is already there
 
12:56 PM
Sup adam
 
o/
Working on an intro to kotlin presentation for our new Android dev starting next week.
 
share it
 
Once it'd one lmao
 
1:12 PM
bro
 
lmao I'm just now starting it
 
just give him a link to the docs and downvote him
 
1:36 PM
lmao
 
not kidding
 
1:48 PM
lmao lmao
 
2:13 PM
@AdamMc331 There's about a thousand of them already though..unless you want to make one specific to okcupid's code it doesn't seem necessary
and yeah the docs are really good for starting out too
 
I know, but I just want to highlight some key things I can explain in person, but then give them the docs and have them convert one of their projects to get familiar with it.
 
converting an existing project is a great way to learn it
without using the auto-converter
 
2:34 PM
Yeah I'm gonna suggest that but also let her know it exists
 
2:44 PM
her
now we know what adam prepares
 
??
 
3:06 PM
awkward silence
 
very awkward lol
 
employees have to be a 95%+ match to be allowed to date there anyway
 
sorry, QA just informed us that app does not work correctly with Turkish localisation, that is certainly awkward :(
 
funny story, I hung out with the lady that moved in below me yesterday after seeing her on okcupid
only about an hour after I first met her in person
 
3:39 PM
lol that's great
 
4:00 PM
Hello, Android!
I'm moving to a new apartment this weekend!
 
So am I! Congrats!
 
still in NYC?
 
No, he's in OKC now
 
@TimCastelijns did anyone notice that one of the answers is from a previous regular here at room 15?
OKC == OkCupid? Or OKC == Oklahoma City?
 
Yes
 
4:04 PM
I get confused as well. Now that everybody calls it what sounds to me exactly like "KFC" I get even more confused. — uhoh yesterday
 
Was Tim around when Pearson was?
 
dunno
I don't have much motivation to work this morning...
 
That's why I work at night
 
I don't really have that option
besides, night time is video game time
 
@TheBird956 Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
 
4:08 PM
and netflix time
 
yeah still in NYC
but a bigger space better suited for two people
 
4:31 PM
I have not met pearson I think
 
4:53 PM
@AdamMc331 I'm also moving to a bigger space, better suited for one person
 
Nice!
I'm going from a studio apartment to a 2 bed/2 bath haha
 
only a person who really smells needs 2 baths
8
 
posted on June 29, 2018 by Android Developers

Posted by Nicole Borrelli, Android Developer, Programs Engineer The Universal Android Music Player (or "UAMP") is a favorite on GitHub for music app developers with over 9,500 stars and 3,000 forks. Since UAMP was first released, Android development has changed significantly. ExoPlayer has improved, Architecture Components were introduced, and Kotlin became a first-class language for

 
@TheBird956 you didn't acknowledge reading the rules, I'm taking away your access. You can try again tomorrow.
@AdamMc331 why?
 
5:12 PM
@AdamMc331 I'm moving to a 2bed/1bath from a studio. I have almost no furniture, so it will be very empty for the next few months until I can get some.
 
@CarlAnderson Because I'm tired of sleeping next to someone five feet away and not being able to have a solid dating life because of it lmao
 
You're not into having your roommate watch?
 
that seems to be a contradictory statement
 
CA will you be getting a roommate any time soon? Or is the extra room going to be an office/storage?
lol it is a bit contradictory
 
"Yeah we can start dating now, but you have to sleep in the other room"
3
 
5:15 PM
lmao basically
Lord knows I'm still afraid of commitment that c word
 
in other news, I heard that separate bed rooms are trending for married couples so that they can actually sleep through the night without being disturbed by their partner.
 
I would not want that.
However, I don't want to share a room with my platonic best friend in a way that hinders both of our personal dating lives lol.

On the flip side, living together has been really great. We never argue or fight, we split chores well.
 
and I'm not planning on a roommate any time soon. For now it will be storage and I'll probably keep it closed, especially during the winter so I don't have to heat it.
 
If we can share a studio for 4 months and not rip each other's heads off, we'll do fantastic in this place.
 
@TimCastelijns Not if you're in Brazil
It's common to have 3, daily
 
5:17 PM
@AdamMc331 don't tell @TristanWiley
 
lmao
 
oops...
 
Yeah Adam, don't tell tristan, or he'll send you 3 cat pictures
 
I mean 2 physical baths
 
Oh. ohhhh. Right
Then I agree
 
5:44 PM
@Mauker How's the job?
 
So far so good, thankfully!
 
We started the project already
It's huge...
 
5:57 PM
@AdamMc331 Only problem is that I move this weekend and I haven't set an appointment to get Internet turned on yet. My only internet will be my phone for at least a few days, maybe a week.
 
o/
 
Hi..I have to upload image file into server as form data.I checked api in postman its working fine.I am using retrofit2 its 400 bad request when i try to upload
Pls anyone give me soln
@TimCastelijns
 
> Pinging for help is bannable.
 
You can make an SO question and get answers that way.
 
6:04 PM
check server log. We are not wizards, we cannot see what went wrong
6
 
hehe
 
@TimCastelijns thanks
 
@Code-Apprentice My roommate was in charge of that but he never followed up.
So I hope we aren't screwed.
 
6:30 PM
@AdamMc331 unfortunately hope doesn't transmit bits
you can always fall back to IP over avian carriers if all else fails
random thought: I need an emotional support elephant.
if some lady can have a peacock, I should be able to get an elephant
 
do it
Maybe you would have been quicker to forgive the Bixby developer if you had an emotional support elephant.
 
exactly!
I could sue Samsung for an elephant instead of a million dollars
 
You honestly might come out ahead, I'm sure in some places an elephant is worth more than a million.
 
in rupees probably
 
and probably costs more in just food
 
6:41 PM
yesterday, by Tim Castelijns
user image
 
let alone cleaning up all that shit
 
@AdamMc331 keystore not found
 
Yeah and I haven't found any shit I'm not tired of, either.
 
shits tiring tbh
 
6:47 PM
shit is indeed tiring
 
why would you do this
 
Imagine how tired you could make someone
You could send it to Sarah Huckabee Sanders, or Trump or Adam, or Tristan
 
7:03 PM
lmao
 
7:18 PM
ugh purchased two different USB - USB-C cables cause @TimCastelijns told me it had to be the cable, but it's not the cable. I still need to set it transfer files instead of charging only. Thanks Tim!
 
> Send a box filled with gluten-free horse shit for as low as
because the horse already digested all the gluten
 
Or they don't eat wheat
 
but they eat grain and most grains have gluten
 
looks like you bought broken cables dave
 
I think it's the ancient USB ports on my machine
 
7:20 PM
do you have the right settings on your phone...MTP, I think it's called?
 
The problem is I have to change it back to MTP every time I unplug my cable
I can't find a way to default it
and charging only isn't detected by adb
 
textbook broken cable symptoms
 
3 cables 3 manufacturers, all same issue
one is supposed to be official google cable
 
Have you tried turning it off and back on again?
2
 
7:35 PM
actually no
 
Yo
@AdamMc331 nice
@eski lol
@AdamMc331 lmao
@TimCastelijns lmao :(
@DaveS lmao told you
 
finally caught up on the chat cF?
:p
 
7:51 PM
batch updates are optimal
 
Haha yeah
Was busy today in a marriage
 
What a drag
 
@CarlAnderson that's basically me...it's way easier to get to sleep by myself
 
> Was busy today in a marriage
Did the prince get divorced?
 
7:52 PM
@ColdFire did you meet the bridesmaids at least?
 
it's the new ephemeral marriage thing the kids are doing
 
And I thought American can read English
@Code-Apprentice yup all done only 7 phare remains
 
phare?
 
I have no idea what would be the English word for phare lol
It's something related to our Hindu custom
It's like 7 rounds with 7 promises in short
 
Noun: phare (plural phares)
  1. beacon
  2. lighthouse
  3. phare m (plural phares)
  4. lighthouse
  5. lantern in a lighthouse
(4 more not shown…)
Adjective: phare (plural phares)
  1. leading, signature, key, flagship
not this, I assume...
 
7:54 PM
Yup not that certainly
 
Yeah
7 vows would be appropriate for that I guess
True should have been phere
 
good thing google can guess what I really meant
 
was it an arranged marriage?
 
Yeah mostly arrange marriage happens here
Love marriage rarely happens
 
7:58 PM
fuck choosing who to spend your life with, just let mom do it
2
 
so they need to find a princess for you?
 
I guess
Ugh marriage is such a drag topic here
 
well...I'm sure you could always leave India to find someone of your own choosing
 
@AdamMc331 lmao it actually worked. You could have a promising career in IT
 
seems like Indians in America don't follow that for the most part
 
8:01 PM
Yeah well not quite I can't explain it here but there are reasons I am stuck in India otherwise I would have been in US by now
 
More importantly, Tim was wrong. It wasn't the cable
 
@DaveS lmfao
 
ah ok gotcha
 
@DaveS I'm all for that as long as I have some veto power
 
Well also there are lots of trouble migrating to other countries
Even liberal who claim to be pro minority don't care about Indian Americans
So much for a hypocrite ideology anyway
 
8:04 PM
Adam confirmed a level one tier tech support
 
@DaveS well that is how mostly it works here
But times are changing
 
wouldn't arranged marriages fall on the conservative side?
 
@DaveS how can you know
 
because it's the same cable and now it works
 
India is a conservative country
Tho not the kinda US conservative
The read India or Bharat is conservative
@DaveS told you cable wasn't the issue :D
 
8:14 PM
yes but unlike Adam you didn't provide any support
so Adam gets credit
 
:(
 
<3 bless
 
you play a cleric, adam?
about which castle you want to live in?
 
Haha yes
Cleric?
 
clerics are the most common class to have the bless spell
 
8:20 PM
Oh
 
He could be a paladin as well
 
I don't really see him as a doer of good, but yes
 
What about the curse spell?
Does Adam have it ?
 
it was casted on his parents
 
Also curse is what happened to Adams keystore?
Lmao savage
 
8:25 PM
Curse is Tim's speciality
He cast it on the German national team this year
 
#TimCurse
 
8:49 PM
hopefully quick Android question: If you want to dynamically change the color scheme of your app... default is black text on white backgrounds, but then you click a button and it goes to Darcula... how hard is this to do?
I haven't worked much with android themes at all in the last couple years
 
if you set it up to switch already, not hard, if you haven't there's probably some technical debt there.
You can easily set a new theme but if your xml is explicitly setting text color and not getting it from the theme I don't believe the theme overrides it
but I could be wrong
 
I think you're right right Dave, but I imagine there's an app theme tied to the main activity, which may be enough... Uncertain though.
 
I've leveraged the app theme to change the system font with reflection, but iirc explicit properties override the theme
so you'd need to develop themes/styles for all your components and use those instead of explicit properties, then dynamically modify that
 
we generally already have that for our components
so it might be possible
 
9:37 PM
sudo rm -rf / PROBLEM SOLVED!
\o cM
 
whats up my dudes
 
I thought Android added a way to do dark/light themes?
 
uh
I didn't know that
 
9:49 PM
imma get me a kitten after I move into my new apartment
I joke about a emotional support elephant...really I just want a kitten
maybe two
@netpork Did you change your avatar?
 
@TristanWiley you're becoming a meme
 
You're becoming old(er)
 
is that a bad thing
to be or not to be (a memer) - that is the question
 
5 hours ago, by Mauker
Yeah Adam, don't tell tristan, or he'll send you 3 cat pictures
Jun 26 at 20:37, by Dave S
"Why is his resume 3 cat pictures?"
 
all good things are 3
maybe its an ocd thing
 
9:58 PM
I bet it's because he has Tri in his name
maybe if we call him "Stan" he'll only post one
 
or Monostan
Monostan Wiley
 
Or maybe if we call him Unstan, he'll go away
<3 Tristan
it's too easy to be mean to him
brings out the worst in me
 
Oh, Hi Pentastan
 
10:56 PM
It's a laughing Carl
 
11:26 PM
posted on June 29, 2018 by Android Developers

Posted by Paul Bankhead, Director, Product Management, Google Play Every day, millions of people come to the Play Store to discover the best apps and games. As part of our continued effort to deliver great experiences to our users, we regularly update the Play Store to help people find and discover safe, high quality, and relevant apps and games. Over the last year, we've been enhancing

 

« first day (2813 days earlier)      last day (2136 days later) »