« first day (1784 days earlier)      last day (3163 days later) » 

6:07 AM
 
good morning!
 
o/
 
mr5
6:29 AM
Is an ArrayList<ObjectPrimitiveType> part of UI thread?
 
hmm. explain XD
are you getting an error?
 
o/
 
mr5
I'm getting an IllegalStateException by adding contents in an ArrayList of custom type
...from another thread
But this just happens only now o.O
 
mr5
\o
 
6:40 AM
Use Iterator
 
hmm
seems you're not the only one
114
Q: Android, ListView IllegalStateException: "The content of the adapter has changed but ListView did not receive a notification"

tomashWhat I want to do: run a background thread which calculates ListView contents and update ListView partially, while results are calculated. What I know I have to avoid: I cannot mess with ListAdapter contents from background thread, so I inherited AsyncTask and publish result (add entries to adap...

a runOnUIThread would solve it.
 
Handler is another option
 
yup
or implementing an eventbus interface
 
user457812
github.com/blog/… ← This is kind of funny because I've been using these in GitLab for.. the entire time I've been using GitLab.
 
Sob! Sob!
Somebody downvoted my answer.
 
6:54 AM
:(
link so i can compensate
i readed it yestaay and it aws very good
 
mr5
Uh sorry
 
(if we're refering to the "what has done SO for me?")
hmm i had already upvoted you
 
mr5
I've adding the contents of ArrayList via AsyncTask, then according to the hover display message, onPostExecute runs on UI thread
 
is the phone you're testing 4.4 or lower?
there seems to be a known bug
 
mr5
from there I have accessed some UI operations like mListView.setAdapter instead of mAdapter.notfiyDataSetChanged
exactly 4.4
So I'm sure that the adapter is not bounded to the ArrayList yet
 
6:57 AM
there you go. some gremlin at google messed up threads and listviews
 
mr5
o.O so it's a bug?
 
look at the link
response #8 might hgelp you
"I fixed this exception by resetting adapter after changing content and calling notifyDataSetInvalidated:
listView.setAdapter(adapter);

No idea why this helps!"
 
mr5
ha exactly what I'm currently reading before switching to this tab
I may do it temporarily but I think it's not reliable
 
yop o/
 
7:01 AM
hi ocus.
 
mr5
Naruto, nice! You got lots of upvote :)
 
There will be one day where Listeners break and subclasses fall apart, but today is not that day, today we code, for Gradle!
 
mr5, Yeah! Yeah! :D
 
mr5
Eric, "Today, we dine in hell!"
 
7:05 AM
coffee
 
in new Hell(this) to be concrete.
 
mr5
Which one is suited for this kind of situation:
A Service produces many events and any object could listen to it.
Only candidates I could think of are BroadcastReceiver and EventListeners(interface)
 
Greenrobot's eventbus library will suit you, if you're into 3rd party libs.
i've been using it for a while
you @register event listeners, and you can post events from any class / thread
 
mr5
but lemme check it first
 
Aug 27 at 11:11, by OcuS
@mediasoft Access denied. The minimum reputation required for access is 100 points on StackOverflow as stated by the rules.
22 hours ago, by OcuS
@mediasoft Access denied. The minimum reputation required for access is 100 points on StackOverflow as stated by the rules.
@Mediasoft Same. Access denied. The minimum reputation required for access is 100 points on StackOverflow as stated by the rules.
@lamin Access denied. The minimum reputation required for access is 100 points on StackOverflow as stated by the rules.
 
mr5
7:13 AM
@CptEric Wow the idea is cool!
I have a bunch of interface in my service and the code looks convoluted that way
I might switch to that approach in the future
 
i did and i have no regrets
 
mr5
#noRagrets
 
8:05 AM
\o
 
@Blackbelt owhh return images.size();??? thankss although you marked duplicated lolol thankss ^_^ — Michimcchicken 44 secs ago
 
8:19 AM
Goodmorning everyone!
 
morning miva
 
I haven't been here a few days, it feels so long!
what's up Eric? :D
 
9 days to submit ios app
client keeps changing how api works
20-25% implemented so far.
still no login working , have to hardcode users.
so i'd say i'm quite well, thanks.
and you? why did you abandon us? have you found a nicer chat? :P
1077
Q: Warlords of Documentation: A Proposed Expansion of Stack Overflow

Kevin MontroseIt’s been 7 years and 10,000,000+ Questions since Stack Overflow was launched. The amount of good that has been done for the field - all the developers helped, all the person-hours saved, all the beginners who grew into professionals - is hard to overstate. I cannot express how proud I am of what...

one thousand upvotes
 
nice
 
8:45 AM
@maveň sup dude!
 
seems like you're having fun then :)
yeah I just read that documentation thing (well skimmed through). I'm not excited about it, kind of conflicted.
no I was actually working =p
Also these meds I'm taking make me a zombie...
 
8:58 AM
༼ つ ◕_◕ ༽つ Give me your Pull Request
lol
 
more like
༼ つ _ ༽つ ERRGFFMMZZZKGGG ZZZZ
why did my eyes disappear? D:
 
XD
 
9:16 AM
Yes for documentation
Where to sign up
 
Won't that incentivise developers, especially of smaller projects, to spend less time on documentation because SO will pick it up anyway?
 
But I have reservations on it
 
they are already spending little or no time documenting
even the big ones
look at Square's Libs.
i've seen more understandable documentation on generated javadocs.
 
Yeh, but which one to use on javadocs, the official or StackOverflow's community based docu?
Or both
 
what i assume is that smaller devs will keep documenting their projects on github
and after doc is done, they will copypaste it onto SO
 
9:21 AM
Yo
 
But it is peer reviewed, so Stack's documentation has the advantage, and more updated.
 
morning
 
and examples, good examples, reviewed, working, versioned examples
 
@anbuselvan Access denied. The minimum reputation required for access is 100 points on StackOverflow as stated by the rules.
 
Yeh cause Facebook's documentation sucks more than Google's
At least we have SO as an alternative
 
9:33 AM
facebook is funny
they make amazing libraries and their app breaks everywhere
i suspect there's a war in their office
between both teams, and they don't talk eachother
 
In their current documentation it says to use com.facebook.widget.LoginButton but it is actually com.facebook.login.widget.LoginButton
 
isn't facebooks documentation quite good?
our CTO is saying he likes it anyway
wants us to do something similar
 
No, it is not updated
 
snippet based docs should be removed with fire
from the internet
working examples separated in sections? ok. random snippets unrelated that refer to unexistent, undeclared variables that you must guess? fire-
 
Twitter's documentation is actually getting kinda good
Including their sdk
And Facebook's loading dialog when opening their OAuth login is not even in Holo UI
They're still using 2.3 theme
 
9:40 AM
shivers in fear
 
10:04 AM
@Cjames I am good
 
cute
 
I love those Thrusdays when you realize it's actually Friday.
I feel great now !
 
Hi OcuS
 
yop TLN
 
'sup ?
 
10:14 AM
i got my friday playlist on
 
trumpet (I never know what to reply to "sup"...)
 
Let's play the damn friday music
 
what was that ?
 
morning guys, anyone have experience with checkboxes and expandable list views free for a chat?
 
10:27 AM
Expandable list view?
 
yeah
 
What's an expandable list view?
 
Looking for a test device, hope LG phones are good for being a test device
 
Oh, cool
 
10:54 AM
Nexus 5, best test device
 
What does Nexus 5 have over Nexus 4? :)
(Or Nexus S for that matter!)
 
don't really know, i just know the nexus 5 is super popular, with devs and users as a great stock android device
just had a fire alarm test, now 30 minutes later the fire alarms are going off
hmmm, is it real or not
god damn the sound is loud
 
it's raining like hell
weird time
 
can't work now
 
nexus 5 has lollypop, 5" screen, a lot more ram and a better GPU/CPU
is worth upgrading
also AS comes with it's drivers by default on all OS
 
11:06 AM
All the good things about it make it worse for testing.
 
if i'm not wrong
 
fuck it im leaving
 
android-sdk comes with universal drivers?
 
it might have less cluttery logcat dump
 
Good luck RED! Don't burn to death.
 
11:06 AM
my phone is full of rubbish output
 
Nexus definitely win for not having log clutter
 
i know the n4 doesn't have almost any clutter
so the 5 might follow it
 
if you hear a fire alarm, always get out asap
 
i work on a floor-level office with a big balcony at 20cm from ground. i can wait till all repos are refreshed in case of fire XD
 
your life, your choice
 
12:04 PM
@Ganesh Access granted. Welcome. Do not forget to read our rules.
@Shivansh Access granted. Welcome. Do not forget to read our rules.
 
12:26 PM
o/
Ocus!
 
o/
 
Almost no one here today. I love it
 
Mroning
Morning
 
yo
 
Mauker, hint: you can edit your messages here for some time after posting them
 
12:33 PM
Oh, thanks
 
@AbhishekBhatia denied for help vampirism
 
cM - professional vampire hunter
 
:P
length=15 index=92 wtf
I'm pretty sure I'm doing something very bad somewhere. Just not sure which very bad thing that I'm doing is causing this particular problem
 
12:50 PM
<Insecurity mode on> Good or bad answer? stackoverflow.com/questions/32398195/… </Insecurity mode on>
 
that first loop looks wrong
 
hm...
Let me check
 
should start at 0 for getChildAt most likely
 
Oh, my mistake.
Edited
OP just commented " I have some other things in my code, the TextViews are under ImagesViews. actually I have 80 imagesViews witch under them are 80 TextViews. I want to set text of textViews from 1 to 80 dynamically. "
sigh
Shoud've put that on the question.
 
yeah, the question's quality is low
 
1:00 PM
My boss bought cake to us yay!
 
gz :)
 
Just noticed the "eclipse" tag there
is there any reason for ppl to insist on eclipse when we have android studio?
 
@LucasSantos Welcome. Please read the room rules room-15.github.io
I downvoted and voted to close that. It's a crap question that should at least be attempted
Maybe I'm too mean
 
And like I said yesterday, maybe I'm too soft
 
Hi guys
 
1:09 PM
Hello
 
it's fine cM, I also downvoted/flagged it
 
Do you like Android games @Mauker?
 
Question, if an answer of mine gets downvoted, and I realize my mistake and delete it, will my reputation come back?
I do
 
Mauker - It's hard work switching from Eclipse to Android Studio when you have 10 years of Experience in Eclipse and you've been developing Android apps in it for years without a problem.
 
Can you help me installing my game?
and rate it
 
1:14 PM
Mauker, you will get it back. But if it's a good answer otherwise and you can fix the error then that's better
The rep will come over time but that's your decision
Also keep in mind that too many deleted posts contribute to a q/a timeout
 
I've undeleted it and corrected it
Guess I'm a little distracted
 
o/ morning
 
Portuguese uh? hehe
Morning adam
 
Yeah
Portugues no
Brazilian
 
1:23 PM
o/ Mac
 
o/
iMac
I see what you did there
 
Portuguese*
Ok
This game is simple and basically consists of testing the reflexes of people through "Quick Tap" the ninja, the cool thing is giving to unlock win and compete with others by comparing scores.
 
o/ Mac
 
Joke Time
A woman talks with a friend....
My husband and I were dressed and ready to go out for a lovely evening of dinner and theatre.
Having been burgled in the past, we turned on a 'night light' and the answering machine, then put the cat in the backyard. When our cab arrived, we walked out our front door and our rather tubby cat scooted between our legs inside, then ran up the stairs. Because our cat likes to chase our budgie we really didn't want to leave them un-chaperoned so my husband ran inside to retrieve her and put her in the back yard again.
 
ha
 
1:29 PM
hahahaha
 
I can dig the new google logo tbh
 
I still like the old one better but the new one is growing on me faster than I thought it would
 
Just like a parasite cM
 
yep
 
@LucasSantos I'll test your app later
 
1:38 PM
The Saddest Calvin and Hobbes Cartoon Ever
 
Not this again, damn.
Right in the kokoro
 
Calvin and Hobbes was, and probably still is my favorite comic growing up.
 
Thanks @Mauker
 
Calvin and Hobbes is awesome.
 
TristanWiley Wow... why'd you do that to us? :(
 
1:41 PM
We need a cat picture right away
 
sobs
 
ahahaha
nice
woo! Second gold badge!
 

« first day (1784 days earlier)      last day (3163 days later) »