« first day (1599 days earlier)      last day (3356 days later) » 

5:01 PM
I do not understand why this guy is against setRetainInstance(true)
DONT use setRetainInstance. — Pedro Paulo Amorim 2 hours ago
 
So that guy never removes the mLeak view from the view hierarchy, just its children.
Needs this: ((ViewGroup)mLeak.getParent()).removeView(mLeak);
 
I do not think he needs any of that
 
That's just how good you are
 
as soon as the Fragment goes out of scope all its Views follows
if the Fragment is retained it will be GC when there is no more references to it. I do not know when that happens, but Android should take care of it, right?
 
No, the fragment is retained, so it's detached from the view hierarchy, stays in memory, then is re-attached exactly the same.
 
5:07 PM
right, but when will it be GC'd?
 
I'm not sure - that's the whole point of retain instance.
 
let's say I navigate away from the Activity it used to be attached
I would expect it to be GC'd some point after that...
 
Yeah, I suppose. But on rotation it's never GC'd.
If you navigate forwards it won't be GC'd. I'm not sure when or if it gets collected on back press.
 
yeah, I agree with that, that is the whole point as you said
if you navigate forwards I think Android should be smart enough to GC'd after some time
but those are just speculations
 
But people use it as an anti-configuration-change bucket, right? Put all your services in there, your data, etc etc... then attach it to your activity.
Just not in a view.
So um. I'm not actually sure how that works across activities.
I've never used that method before.
 
5:11 PM
right, a lot of people use it for AsyncTasks
the whole "use a headless retained Fragment" thing
14
A: Further understanding setRetainInstance(true)

S.D.setRetainInstance() in Fragment class is a clever replacement for onRetainCustomNonConfigurationInstance() of Activity class, and more. Clearly stated in the documentation. Here's Log of what happens (A UI fragment add on demand and then a config change): Default setRetainInstance(false) 09-2...

interesting
Huh this is really interesting
36
A: Retained Fragments with UI and memory leaks

zaplIn a Fragment with UI you often save some Views as instance state to speed up access. For example a link to your EditText so you don't have to findViewById it all the time. The problem is that a View keeps a reference to the Activity context. Now if you retain a View you also retain a reference ...

(thanks to good old Zapl)
so if you do not want to leak your Context you do need to clear references
 
All seems pretty... fiddly?
 
-2
Q: What I need to code to make a simple camera activity?

Manel00Please I need to know how can I do a simple camera activity to make a sample in my activity, just to do a photo, save the photo and able to make a look into album (API19) If it's possible, updated.

cv?
 
already did :)
 
:)
 
1 more and we can delete. This is so exciting
 
5:23 PM
 
@AdamS Like that one answers says, setRetainInstance(true) should only be used with UI-less Fragments
 
yo, Mr. Carl
 
ahmad, too much cuteness
\o eyooo carl
 
jlind, are you back to your step-mother country now?
 
5:24 PM
o/ Carl
 
terrible commute today
 
mice on the bus?
 
3 out of 4 lanes blocked on I-5
took twice as long to get in as usual
 
Yikes! Worse than mice
Why were they blocked?
 
3-4 car accident
 
5:28 PM
I can expand on my mice story
 
mice or mouse?
 
it seems to be mice now
last night around 3am I woke up because I felt something on my wrist
 
I'm going to grab lunch. But can't wait to read it when I get back.
 
I was awake for about 1 hr because I knew it was possible that it was some sort of bug/animal
but then I fell asleep again
then this morning around 7am I felt something was moving above my head and it was bothering my face
 
eew
 
5:30 PM
and I see this little nose and I stood up
I get out of my bed and I tell my wife, I think there is something in my pillow or in the bed
and she gets up and looks as I go up the stairs (because that is what men do!)
and as I am half way up
she tells me yeah, I just saw a mouse
and I tell her, well I am seeing another one along the side of the bed
so we have probably 2, that or the 1 is really fast
on top of this, a pipe broke and our closet flooded
 
lol
that is what men do
 
yikes
 
yes, yikes
 
do you have a gun?
 
no
@berserk I just commented on that question
 
5:37 PM
it's bad…
shotguns are useful for debugging
 
good thing you're out there (hopefully) soon
 
yeah I cannot wait to get out off here
 
Em, that sucks man. what floor do you guys live on? maybe if you move higher?
or....get a cat!
:)
 
we have a "duplex"
ground level and basement
 
so mouse can do stairs
ooo
 
5:43 PM
apparently they can
they probably go through the walls
 
borrow a cat for a few nights
 
because they will fall through the steps if they tried to go down
my wife is allergic to cats
 
dang
 
@SargeBorsch WTF? man! :)
 
that house is haunted
 
5:47 PM
@Error I am going to give you a chance. Please read and follow the rules
 
you need a sphynx cat
 
How get our near by apps installer all infromation?
 
i just spent 30 minutes of my life reading science mag about average male penis size and how there is no correlation to the rest of your body in terms of weight, height, build etc. this article is hilarious to read
 
@Wingpad I've given you write access, welcome. Please read the room rules
 
lol
 
5:48 PM
@Error Did you read the rules?
do not make me feel like @codeMagic, please
 
haha
 
Giving him rights was an error.
 
Thanks Carl! I'll try to abide by them :)
 
Jlin, link? Will it make me feel good about myself?
 
5:52 PM
@lalongooo Welcome. Please read and follow the room rules. Let me know when you've read them room-15.github.io
That one was for you, Emm
 
Thanks @codeMagic
 
To all who have recently gained access, just be warned that @RaghavSood was sneaking around here with his banhammer earlier
 
@nana news.sciencemag.org/biology/2015/03/how-big-average-penis Not sure if you'll feel good or not, depends on your banana, nana.
 
specially looking at you @Error
 
Haha, thanks for the heads up
 
5:56 PM
I think I posted a photo yesterday..
 
I used to have access but I don't know, must have lost it from inactivity
 
yeah the access list is cleared periodically
 
Good to know
 
usually @Ahmad does all the hard work of cleaning the access list
 
Do you know how often the list is cleared?
in other words what is the "period"
 
5:59 PM
As often as one of us realises it's been a while
 
3 days. You don't show up for three days and BAM, you're gone.
 
Alright, I'll probably be kicked again
 
Thanks @nana
 
I'm so lucky I shown my face here once in a while when I was travelling, you guys would have forgotten me :'(
 
I tend to be a bit of a lucker
*lurker
 
6:02 PM
@OcuS who are you again?
Are you the old guy from Seattle? Or the German terrorist?
 
well, I don't seem to be able to remember myself either
must have lost some neurons on the way
 
who you calling a terrorist, nana?
there are literally less than tens of germans here nana. it's a movement.
 
:) Yeah, there is too many of you here. And only one of me :(
Well, not too many, but many.
 
git ur no-good yeller banana face outta here!
 
6:11 PM
YUNOLIKEYLIKEY?
 
6:28 PM
way to kill the chat with ur leet sp34k
3
 
That wasn't very elite I think. Anyways, Tuesdays suck, mice or no mice. Who's with me?
 
Tuesdays are worse than Mondays IMO, because they are awkwardly positioned in the week
 
any day that doesn't start with a "s" sucks
 
Wingpad what anime is your avatar from?
 
evangelion ?
 
6:35 PM
looks cool :O
will watch next ^^
 
never watched it all but I liked the one I saw (back then when I was almost still a kid...)
I feel old now. Thanks wingpad
 
if I were skilled in image editing, I'd put a porn in the 21yo guy screen, and that would be me
 
lol
 
(and the hands NOT behind the head too haha)
 
well. it's time for me to go. seyall
 
cya \0
 
crazy
 
Laters
 
7:05 PM
Sorry @Berserk I didn't reply sooner, it is from Evangelion though, I watched it as a kid but that was around 2009-2010, it's just stuck since :p
 
is fb down for anyone else?
 
Works for me
 
hmm the fb app doesn't work, but the website does
ah there we go
works again.
 
7:30 PM
Ahmad, I thought you were anti-Facebook
I just got off a 40 minute phone call with a customer. About half was helping him. The other half was him telling me about what they do...ugh
 
cM, but did you put the fucking cover on your TPS report?
3
 
I shredded all of the old TPS reports. We will be moving forward with a new format. Please see the previously sent memo with more information.
 
me anti-fb? naah, you gotta havw fb. I'm just anti fb app
 
I love fb
 
but I have the CM privacy guard now
 
7:38 PM
But I better delete them soon :)
Oh, I don't know why. I thought you said before that you haven't used it in years
you wut? never
 
azhhahaahha
 
lol
 
orb, I deleted them
 
me too
 
ok
1 message moved to Trash
I hate when playtime has to end
 
7:43 PM
lol
who knows the mit opencourseware on youtube?
the answer is 42
 
opencoursewave is really good
 
it's lovely
I want to go back to school
 
really? doing your phd?
 
I'd love to
I am too old
 
naah
you're never too old
 
7:58 PM
it's kind of true...
my brain is too old :D
 
How old?
Wow, you're fucking old.
 
I am
 
he is
I've never seen those courses
 
my last week in puerto vallarta :( i am not ready to go back to snow and cold
 
I feel for you. I couldn't imagine coming back here after being there for so long. I would probably cry this whole last week
 
8:08 PM
:)
Imagine me after a 7 weeks out, coming here in January.
 
you missed the worst of it jlin
 
So, yah. I feel you Jlin. It will only hurt a little.
Yesterday I gave up coffee for good.
Today I relapsed.
 
As they say in AA, "Take it one day at a time"
You failed today
 
for cM it's ABAA
ass-bourban alcoholics anonymous
 
:P
 
8:17 PM
I maybe failed today but it feels oh so good, ima gonna get another cuppa.
 
lol nana
 
I don't always deal with Markdown, but when I do.. I use idea-markdown.
 
hah! that's awesome.
 
8:33 PM
@Wingpad You mean they stopped making new episodes?
 
8:51 PM
o/
 
\o
 
\0
 
^ Is this racist?
 
no?
 
Good
 
8:56 PM
if it was photoshopped maybe, but since it seems to be real it's just documentation
 
 
@nana looks creepy to me :S
 
9:00 PM
 
snake dad
 
 
not drinking any coffee for the whole day feels strange
#C0FFEE
 
 
9:03 PM
 
eew snakes snakes everywhere!
Post kitty stuff :3
 
._.
I meant cute kitty stuff :|
 
^^ That looks like Cyriak's stuff
 
9:08 PM
nailed it
 
I'm off :|
 
lol
 
Get back to work you slackers.
 
 
This is why we get outsourced....
 
9:10 PM
wtf nana that's sketchy
 
ah it loaded
before it was like, please download this binary file
 
:D You got me this time, not all those times before
 
wtf is going on in here now.
 
He knows
 
9:14 PM
^ what carl said.
 
room topic changed to Android: A place for Android wizards to show off their magic, or drown their sorrows. We can teach you to fish, but we're not giving out free tuna. Free pictures, but not free tuna. Rules: room-15.github.io [android] [cats] [cyanavatars] [xkcd]
 
omg I'm just off for one hour and random stuff hapens
 
@berserk sorry for the delayed response (again), they stopped making episodes in the late 90's
 
Back to work! What do I pay you for!
 
nana got out of control
 
9:16 PM
hah. I like it carl.
 
Wasn't me.
 
oh my
 
wow - that's a lot of snakes
 
9:30 PM
Apparently the new Unreal Tournament can be played for free if anyone is interested youtube.com/watch?v=a4tNU2jgTZU PreAlpha
 
9:50 PM
 
hah, nana nice!
 
trying to shim Material into our app with support lib, queue yelling and swearing soon?
 
sounds like a safe bet
 
i hate themes.
 
o/
 
9:55 PM
if i just want the same theme for every single device level, and i use the support lib, can i just set it to Theme.AppCompat.Light and get Material automatically? without having to override styles.xml for values-14, or values-21 or any of that nonsense?
off to read the docs i go. >_<
 
Yea, just extend from Theme.AppCompat.Light
 
@DaveS I definitely need something like this
 
that would be a dope pet right Emm?
 
it will catch a mouse for sure
 
lol
 
10:01 PM
I have to admit that my wife is much more brave than I
I am helping her move stuff around to see if we can find where the mice are
 
just get rats, they'll run the mice out
 
guys...
i just got so depressed
18k distinct models...
 
I was more depressed by this
43%Samsung's share of those devices.
 
yea thats sad too
 
7.7k are just Samsung
I don't think I'll be able to sleep at night
 
10:13 PM
fuk
 
this does not sound right
100k in india?
@raghav is that possible?
I've never heard of such saleries in the subcontinent
 
You guys know if there are any particular layout params that need to be set for a layout to take a drop event?
 
That doesn't seem right, especially for instructors
$100k isn't impossible, but you'd have be pretty amazing for it
 
ikr
 
it's probably the cap, for top tier, with a Euro/US market to support it
 
10:17 PM
And also pretty high up
$100k/year would translate to very high up in the company
Senior management
 
yup I can imagine
lol
this sound of of a joke
I can't hear that phrase anymore. Growth hacking. yuck.
 
sounds like what they would do to remove a tumor
hack that growth
3
 
Lol
 
this is so weird
when i declare this view in XML the margin is like one way
but then when i do it programmatically (inflating in a recyclerview) the margin behaves completely different
same dimen resource
im definitely missing something, lol
 
That is weird, is there more to margin?
 
10:30 PM
what do you mean exactly?
 
If you inflate it with it set from XML and then rewrite it from code, how does it behave?
 
i can try i suppose
 
I suspect that something is set by default from XML, something you're not setting from code.
 
well its not that
 
@NathanielD.Waggoner Cool article, but doesn't load properly in anything I have.
 
10:31 PM
it isnt inheriting anything
 
How different is it? Is it a unit issue perhaps?
I just got this :)
 
@nana yea, it might be
i dont know why it would do how its doing though
 
What is it doing? :)
 
bye bye
 
bye Bb.
 
10:40 PM
Crashlytics beta testing with a customer to bypass new apple testflight. My day is all over the place. I need a scotch. It's too hot for scotch. #mexicoProblems
 
#makeamargarita
how are you calculating the margin programmatically JMR?
if you are just setting the margins and not getting the DP value it'll be off.
 
10:59 PM
am out guys. have a great evening
 

« first day (1599 days earlier)      last day (3356 days later) »