« first day (1774 days earlier)      last day (3180 days later) » 

2:00 PM
You need to use findViewById(R.id.mything) to bind your views to your fields in the onCreate() method, like in Adam's gist
 
and in your init() put your custom view set up
 
Ah. I see, this is becoming more complicated because you're accessing the Views inside the LL class.
 
mr5
But the problem is, the initialization of all child views should took place upon initialization of LinearLayout itself
@Graeme huh?
 
Example which inflates a child view and add's it to the parent, then references those views.
 
mr5
So how's the whole process would be?
There's a static design of LL in XML
 
2:04 PM
Anyone using Fabric, what is supposed to be in the dependencies for the build file? It's not recognizing Fabric anymore
 
mr5
Then in Java, I would inflate it...
 
That is the whole process. You have the custom view which is referenced in the layout id you give to setContentView(), and that view in turn inflates it's children in the init() method.
 
mr5
by this line LayoutInflater.from(getContext()).inflate(R.layout.view_payments_product_catego‌​ry, this, true);?
 
@codeMagic paste.org/80045
mr5 Yes, that both inflates and with the true add's the inflated view as the child to the container
 
Thanks but I have that. I've got something else fuckerd up somewhere
 
2:13 PM
have you got your repo set up? repositories { maven { url https://maven.fabric.io/public' }}
 
god dangit.
the recovery mode took my phone back to 6.0. How?
I thought it would send it back so I can start receiving the OTA updates and what not. Maybe I did it wrong?
 
yep
It was just fucking working this morning
 
Then I can't help you :) I already think Fabric sucks. No idea why it exists :)
 
All our alertdialogs are blank on 6.0, god knows what crazyness is happening
 
now it says can't find any version that matches io.fabric.tools:gradle:1.+
Lol! Ok, thanks for trying
 
2:22 PM
That happened to me before cM
 
Emm! Haven't seen you in ages.
 
Sometimes it seems that their maven repo is down
Hey McAdam!
 
\oo
 
o/ Een
 
Emm, so I just have to wait until it's up again? Or...
 
2:27 PM
@cygery I reset my device and I can text again lol. Like, recovery mode reset. I probably could have just turned it off and on again, but I didn't think of that until after.
 
I can't do anything right now because it's not recognizing fabric in my app class
Also, o/ Emm
 
mr5
@Graeme Sorry for late reply. There's still an error in my XML part so I'm not able to verify it. But I think the code you have provided is what I'm looking for. Thanks btw :)
 
I hope your texts aren't deleted?
 
@AshuKumar this room requires a min 100 rep among other things found here room-15.github.io
 
The previous ones I made are gone, but I didn't have anything I needed.
Why? Where did they go? lmao
 
2:34 PM
\o
 
o/
 
o/
 
Hurray me! Now give me rep!
Anyone know of a good way of figuring out the size bucket your phone is in?
I made an app in my last place which did it
 
Good question. Ping me when you have an answer.
 
2:40 PM
Adam, seems to be fixed now for me after disabling Messenger + reboot
 
Yeah, I should have just reboot. God, I don't know why I didn't think of that before hand lmao I'm so dumb.
Speaking of dumb, Visual Studio really sucks. AS is such an awesome IDE.
 
I do @Graeme
 
Oh, how!?
 
in each values bucket such as 'values-xlarge' create a strings.xml, add a string that contains the name of that bucket. Output it to a textview. Which ever bucket it lands in, it will display that text
not perfect but works and its how i figured out which bucket my htc one m7 uses
 
wait
don't go anywhere
203
Q: How to determine device screen size category (small, normal, large, xlarge) using code?

vieuxIs there any way to determine the category of screen size of the current device, such as small, normal, large, xlarge? Not the density, but the screen size.

 
2:46 PM
I prefer my way haha
 
Both are fine, haha. God, why don't those people use switch statements?!
I live for switch statements. I never use else if unless it's a condition that can't be switched on.
 
Which one do you choose Graeme?
 
Winner deserves an upvote on a random answer ;P
 
haha
and to star my above message
you guys have been my only entertainment all day
Congratulations
 
That's...quite sad actually.
 
2:52 PM
It's because I leave this job on Friday, so i don't want to start anything or do anything, I've tided my desk an I'm ready to go haha
 
Haha, but it's only Tuesday!
Where are you going to, Matty?
 
Back to uni in about 2 and half weeks
 
no vacation days left?
 
Nope, used them all up, including the half day I had left haha
 
@AnandSavjani Welcome. Please read the room rules room-15.github.io
 
2:55 PM
lunch time, laters
 
@codeMagic there unpacking a supply delivery on the ISS, not interesting really, but more interesting than usual, and it's fun to watch them float around haha
bye cygery
 
mr5
@Graeme haha. But where's the button for rep up? There seems a recursion in the XML part I made, and I changed the parent from PanelView to LinearLayout. It worked as expected :)
 
Thanks!
Have the link handy?
I'm not sure where I put it and a little too stressed to look for it
 
You're the best
 
2:56 PM
Japan sent it up to them
haha
no you are
 
that's true
You're second though
 
haha
 
yo cM;
 
Hey, Een
 
\o E
E man
 
2:59 PM
Am I the only one who read 'ISIS stream'?
 
@AnandSavjani you should have access now. I'm so used to denying people this morning, I must have clicked the wrong box
 
sounds like yoman
 
Hello everyone i need little help
 
QUICK HELP
 
No, I did the very first time and so did a coworker when I sent it to him
 
3:00 PM
Here is your help
haa
 
What's going on, Anand?
 
Take it and run away
 
I'll lend you a helping (h)anand! ;P
 
i am fine
 
I will help you for 1 star rating
lol Mc
 
3:00 PM
Adam, that is a good one there
 
must be a slow day
 
Thanks, I'll be here all day. And night. And tomorrow. I never leave.
 
lol
 
i am working on blogger api but i am still confuse for how to get all list of blogs
 
Hopefully you saved the best for the rest of the show
asynctask
thread
https
 
3:01 PM
but using which api ?
 
lol
ill let you take this one cM
 
codezzzzz
 
Don't know. Haven't looked at them. Which one do you like?
 
and one more question , "How to attach photo when posting a blog in blogger API "
asynctask
 
which blogger api?
 
3:03 PM
you know, that blogger one
 
Anyone else here love vampires? The underworld is so fascinating.
 
@C4CodeE4Exe denied for low A:Q ratio
 
I am lost a bit here
 
I love to throw holy water at them
 
3:04 PM
I don't remember the question
 
Is it home time yet?
 
6 more hours
 
Do you want come over to my house for tea?
 
Did I tell you guys how you make holy water?
 
put it through a sieve ?
 
3:05 PM
You kidding? You BOIL the HELL out of it!
3
 
hahahahahaha
yes, mine was a joke
 
which IDE are you using? — Aakash 4 mins ago
How in the fuck can he ask that question???
 
lol cM, that is funny
 
The question mentions Eclipse
lol
 
multiple times
 
3:07 PM
what is this ? is this chat room or stupid comment room ?
 
Me and the wife watched 'Zack and Miri make a porno' lastnight
 
It is like one of those things they say in my country : there are people and then there are shoes!
 
Lol, don't be angry because we haven't answered your question
 
stupid?
That hurts
 
its a mixture, more on the stupid comment side
 
mr5
3:08 PM
I'm hurt
 
matty, you know why the old granny watches all porns until the end?
 
and cat gifs
no Netpork?
 
@codeMagic Maybe his sarcasm was so strong nobody realized it was sarcasm?
 
matty, she wonders if they are going to get married
 
hahahaha
well I bet she's disappointed quite often
@AnandSavjani Your link doesn't work
 
3:10 PM
Are we talking about granny or matty's wife still?
 
HOLD ON
 
@McAdam331 Do you think that's what it was? I didn't think about that
 
I'm telling of you
what to watch tonight
 
@AnandSavjani do you hate fun?
 
He hates us
and people that don't answer his questions
Could you give me powers to remove him? ha
 
mr5
3:14 PM
'Cause they ain't us?
 
It is a brutal room?
mr5, "The Interview" line?
 
You have to be of a certain character to get along with people here
 
They hate us coz they ain't us
 
mr5
yeah lol
 
@codeMagic Well, it's either complete and utter stupidity, or really fricken good sarcasm lol.
 
3:15 PM
I have one damn activity that I want to be different if I use a certain build variant. That's all in the fuck I want right now
 
they hate us 'cause they anus
 
Haha...good point, Mac! :)
 
eww
 
It's all fun and games until someone brings up the butthole.
 
mr5
don't tell the obvious
 
3:15 PM
<sarcasm></sarcasm> should have been used
 
mr5
haha
jupiter, saturn,...
what comes next?
 
lol
 
mr5
haa! no? okay.
 
@mr5 millions of miles of empty space?
 
3:18 PM
hurrrrrray. payyydaaaay.
 
mr5
Argh, no!
It's...
 
You get paid in dollar bills Ahmad?
 
nope in euros
 
mr5
It's the butthole planet!
 
why should I get paid in dollars? :p
 
3:20 PM
No, free MS Office license. What could be better
 
I get that for free anyway ;)
omg. it's the first time I actually looked at my pay slip.
 
LOL I'd rather they pay me to install Access on a machine ever again.
 
I get.... more money than they told me on my contract lol.
love it
 
mr5
I never had a licensed version of softwares
only cracked versions =P
 
I meant dollar bills (singles) that you can use when you go to your nearest strip club
lol
 
3:22 PM
You better let them know they messed up and you don't want that much
Oh, good...internet is crappy again
 
paying all kinds of taxes yay
 
I thought that'd be tax free
It should be up to a certain amount
 
mr5
Picture this, there's a **predefined XML layout** whose parent `ViewGroup` is extended from `LinearLayout`.
Now, that extended `ViewGroup` has a Java code, which `inflate`s itself that predefined layout I'm talking about.
Now what do I have now? A recursion right?
 
Also, someone please tell the sales guy emailing me that my app only fucking gives the permissions it's told to by the server. I don't assign permission levels
 
mr5
I wish SO chat parser could be much better someday
am I right or am I not right?
please tell.
why you guys stop chatting all of a sudden?
I'm so lonely here :(
 
3:28 PM
i'm sitting around waiting for a circleci build so i'm here
23 minute build times, what a joke
 
mr5
what's circleci build?
 
continious integration
trying to get it working, but build times jumped from 4 minutes to 20minutes+ once I disabled predexing
it's supposed to do the opposte!
 
mr5
is that a framework?
 
RED_ how do you like circle over travis or any of the other services?
 
i've never used travis, this is my first attempt at continuous integration
 
3:30 PM
Greetings!
 
i like the web ui for circle
 
mr5
6 mins ago, by mr5
Picture this, there's a **predefined XML layout** whose parent `ViewGroup` is extended from `LinearLayout`.
Now, that extended `ViewGroup` has a Java code, which `inflate`s itself that predefined layout I'm talking about.
Now what do I have now? A recursion right?
 
yo miva2-3-4
 
mr5
oh please, where them peoples at?
 
I was thinking about what to answer
Don't know, I'm tired. my brain is not functioning
 
mr5
3:34 PM
someone haz te answer to my question?
 
you almost done for the day?
 
Hi Eenvincible the one and only!
yes, indeed I am.
 
26 minutes till home time
 
I haven't met miva 4 yet. I did encounter a miva3 but that was just the nickname I gave him.
 
@codeMagic picture taken from the ISS feed dailymail.co.uk/sciencetech/article-3192677/… are you a believer?
 
3:36 PM
o/
 
mr5
I have three thesis to be passed tomorrow and I'm still at the first one.
 
o/
 
i bet it's just a star
crazy people
 
matty, I'm undecided. It could be a UFO, it could be a star, it could be a piece of the Death Star, it could be...lots of things
But it is interesting
 
3:38 PM
ofcourse there are aliens watching.
but they're not flying UFO's
 
What are they flying?
 
I don't even think they need to be flying
 
mr5
It could be a Frisbee flying before the airplane
 
I'd say, something beyond human comprehension :D
 
HaHa piece of death star
 
3:41 PM
They placed a crash team here in the office on the table next to ours
but they're going home
I thought they were crashing here
 
an its gone
too late
17 minutes
 
god dangit.
 
I love this place
 
We'll see it in like another 92 minutes or something, right? How long does one orbit take ISS?
 
3:45 PM
i think it is 90 mins to go around
 
I got 17 fitzpatrick score, I think
 
"station orbits the Earth once every 90 minutes, it experiences a sunrise or a sunset about every 45 minutes"
Tim Allen used to sell cocaine haha
 
Ahmad, you're about a 60?
I got about 19
Not sure what I can do with that
 
been running circleci against a backend that doesn't exist :| of course it bloody times out
arghhh
at least i hope that's the issue
 
OH MY GOD RANDOM TRIVIA FOR THE WIN
> The International Space Station travels in orbit around Earth at a speed of roughly 17,150 miles per hour (that's about 5 miles per second!). This means that the Space Station orbits Earth (and sees a sunrise) once every 92 minutes!
 
3:54 PM
@codeMagic It means you're more likely to be a better rapper than me
 
nailed it.
 
Well congrats Adam
 
:'D
 
@codeMagic lol actually 31
 
:D
 
3:55 PM
Hello guys
 
o/ Skiz
 
Can you correct if I'm wrong? Is true that on notification panel on device left side is for notifications from APPs, etc and right side it's notifications from internal android? like Wifi / time/clock/alarm?
 
Greetings Skizo
 
\o @codeMagic
 
Doesn't that depend how your system is configured?
 
3:57 PM
I don't know that's why I'm asking
Like you can not add the icon from your APP on the right side (notification bar) to know that it's running or yes?
 
mr5
I'm stuck in recursion. Oh God please help!
 
From the code of your app I think not but I can't say for sure.
mr5, remove the inflate layout?
 
mr5, if you want any help, I think you're going to need to create a gist of what you have going on
 
@codeMagic Have you read my question?
Am I wrong?
 
I don't know of any way but I haven't tried either
 
4:00 PM
skizo, i'm sure it is customizable somehow. but maybe only for custom roms and rooty thingies
 
yeah, probably for rooty thingies
 
17:00 See you later
 
o/ matty
 
Farewell matty
May the aliens watch over you on your journey
 
mr5
@codeMagic link plz. tnx :)
 
4:01 PM
I've got things all jacked over here. Oh my
link to what?
 
mr5
that gist thing
dunno what it is
 
and don't say plz and tnx, thanks
 
mr5
haha
 
mr5
I know. Those words are forbidden
 
4:03 PM
 
mr5 pls (;_;)
 
 
Excuse me, I will ban myself for today for use of such language
 
mr5
tadaa!
@codeMagic
you may want to look at line 55 in PaneView.java
 
arrividerci compadres
 
mr5
4:06 PM
That is where the recursion would take place!
@miva2 What language is banned here?
brainf*ck?
 
I don't think you want to inflate it there. Inflate it in your activity then create the modules or whatever in that panel class.
I haven't really worked with that stuff much so I don't know for sure without spending some time on it
 
What have I been missing here? Ping me a summary xD.
 
mr5
@TristanWiley UFO!
or Frisbee
 
I meant anything new for the past few days.
 
4:10 PM
That link has it all :P
Back in NY?
Shouldn't you be in school?
 
I'm still with my girlfriend :)
 
mr5
@codeMagic But my goal is to immediately access the children of that layout upon creation of it.
 
It's not created until you call its constructor from the activity. Then you should be able to access them in the activity
or something like that
 
mr5
Y_Y
Since I'm not able to came up with nice idea on how to do that, I think it's better for me to spend my time wisely so...
Fuck it! I'm going to revert my code back.
What would you call to those people who didn't sleep at night and still trying to perform their task at daytime?
"high"?
 
4:31 PM
o/
 
Some cool photos there EE :P
 
4:46 PM
I'm all turned around... is gradle plugin 1.3 the new fast plugin they announced at I/O? If I want to use that which gradle version do i have to update to?
 
it's certainly much faster
if you target api 21
we have a "development" build flavor set up to set the minSdk to 21
 
o/
 
i need minSdk to be 21? or target? we target 21, but min is 14
 
I would think target?
 
shouldn't you target 22? (the latest)
 
4:54 PM
sorry, meant minSdk
 
gradle is giving me nothing but trouble with circleci
going to just let them debug it for me
 
latest is 23 - 6.0, can't target that because we're not ready for the new permission model... 22 is just 5.1, haven't tested against a 5.1 sdk yet... so 21 it is :P
ah shucks, i can't ditch our 4.x users just yet
 

« first day (1774 days earlier)      last day (3180 days later) »