« first day (656 days earlier)      last day (4518 days later) » 

23:00
yep and it was funny as mess
I'm pretty sure I was googling for something via image search
pretty sure I posted it yesterday...
Yes he did
my head's a mess ... I haven't eaten because I can't go outside and didn't do my online shopping ... out of tobacco, food, my mind
yesterday, by Pyrodante
user image
23:02
im looking for some kind of unique identifier that fragments and activities have
any ideas?
to see if it is a fragment or an activitiy?
can't you do reflection?
The second one got hookas
@Pyrodante nah to keep track of both
Typing sucks >.<
i have a class which is loading images but needs to stop loading images requested by one activity/fragment when it enters another
so im just gonna have a hashtable of activities/fragments and a boolean to denote which is currently in focus
23:04
kicks the dog
You come to my house and you kick my dog
@JMRboosties that... just sounds like a terrible terrible terrible terrible terrible
now my dog needs operation
deep breath
terrible idea
You know damn right
23:05
@Pyrodante any other ideas? its a pain but its what ive been tasked with
retaining all your activities is possibly the worst thing ever
i dont want the actual activities
i just want like a int identifier for them or something
I know I hyperbolize a lot, but that is basically the worst thing ever
An int reference for... WHY?
"wrong, wrong, wrong, wrong, absolutely brimming over with wrongability" Edmund Blackadder
huffs @merlins cat
23:06
your poor poor garbage collector
@ChrisOkyen I don't have a cat
no wonder the sanitation workers are going on strike
i have a helper class which loads images
the problem is it will load images for activities that arent in focus anymore
WTF?
23:07
i didnt create this crap
post a question on SO, so I can post the answer 'No'
im trying to fix things
then explain to whoever did, that you NEVER reference an activity out of focus
sigh
its not referencing activites at all
only something in the activity right?
23:08
yea imageviews it looks like
which seems weird to me but whatever
All UI elements of an activity requires context, which is what the activity is extended from
Are you saying i work very slowly
ergo: a reference to an element to the activity, is a reference to the entire activity
3 days
@Merlin
23:09
(really just wanted to use the word 'ergo' in a sentence)
well then.
that explains the problems this thing is having
send this to the author
If you look up Android Memory leak, it literally explains what you just described
why meme when you can diameme
there is no joke in that... that's true
23:10
@Pyrodante lmao
let me see if i can find the source of this
this is what the previous author of this project used
to the author of the booki am reading
they gave it to me yesterday and said "this doesnt work help"
so here is how to do it
23:12
youre passing an imageview and a url to an image to this class and it will slap that image into your imageview
capture the image... just the image... and send it along its merry way
you can have images that when clicked sends them to activities... but do not reference the real object
so this class should just get the image and store it in a cache or something
then the activity itself goes and gets it
that would work
there may be a way to take a snapshot of an activity like ICS+ does with the app switching interface
i mean id rather just fix this library than build my own
but im beginning to think there wont be a choice here
Burn it. Burn it all
are you being paid to do this
23:15
lol
yea
its my new job im on my 2nd day
well poop... what is the actual requirement... a slide show of active activities?
nah its like a listview with images populated from online
stored into a cache and then pulled from there in the future
so what does this have to do with activities not in focus?
also, you got a new job? what happened to your company?
lets say you scroll to the bottom of the listview then hit back or go to another activity
or whatever
23:17
holy shit ... that is insane
@Merlin ??
it will wait to load every image on that list until it brings up the new activity
so if youve got a list of 100 artists, scroll to the bottom then hit next
it will wait to load 100 images before giving you your next activity
I really truly hope your loading is in async tasks
it is
fortunately
so... still not sure what the issue is...
23:19
why wait to load the images before next activity? Bad UX
yeah you lost me there
@Pyrodante issue is it can take a minute or so to load 100 images
"waiting" should never be in the design :D
^ NEVER EVER
so just move to the next activity
23:19
so youre just sitting and waiting for them to load before it gives you the next page
right... so just go on to the next page
you do! but for some reason it hangs up
it wont send the user to the next page until all the images are downloaded
not that
because you image loading is on the UI thread
23:21
the problem is that the image loading uses imageviews from the previous activity
you can't do that (in a sensible world)
so yea its technically on the ui thread even if the actual downloading of images is async'd
@Merlin thats what im realizing, but im not ashamed cause i didnt build it
so im charged with either fixing it or building a new one
It doesn't sound too far from where you need to be
23:22
I would start again ... build it right ... it won't take long ... you'll save yourself a gallon of headfuck
at least the part with the image loading
I would personally take a step back, think about how it should be designed, then do it
if you just start playing with the strings, you'll get caught in the web
i think if i just remove anything to do with UI from the class it will be fine
pseudocode mother f***er do you have it!
23:24
haha
@Pyrodante i still want to start my own company
but in the meantime i gotta make money so here i am
take a backup and remove anything that smells funny
its a bummer though cause at my old job i could work on my own project for like the majority of the day
what happened to it?
my project?
still alive
im nearly done with huge ui revisions
no your last job
if you don't mind me asking
23:26
oh i quit
got a huge upgrade in pay here, and its in mobile which is the field im interested in
1 min ago, by JMRboosties
its a bummer though cause at my old job i could work on my own project for like the majority of the day
does not compute
pay upgrade == working for your wonga
@Merlin so your question on SFF still has 2 vote to close votes, Kinda want to cast a third just to totally troll you
awwww
@Merlin at my old job i got paid crap but it was super easy so i could work on my own projects
23:28
i doubled my salary just about to work here which is a bit tougher but i will learn a ton i think
I get paid crap, and cant work on my own projects
so... yaaaaaaaaayyy
the problem is that when you do a job like that your own projects go out the window
it's really hard to do multiple projects in this line of work
@Pyrodante I ain't
I write scripts all day and get to play with 120 devices notbad.jpg
Well whoever wrote that thing you are working on, you should tell them that their code is bad, and they should feel bad
23:30
@Merlin true, but im nearly done with what i consider to be the core of my project
from here its just shopping the idea around to investors, people in the music industry, etc
i think of it as more of a proof of concept than anything else
yeah but you been there 7 months ... my profile says "member for today" which sounds a bit wrong
278
Q: Android - How do I do a lazy load of images in ListView

lostInTransitI am using a ListView to display some images and captions associated with those images. I am getting the images from the Internet. Is there a way to lazy load the images so while the text displays, the UI is not locked up and images are displayed as they are downloaded. The number of images is no...

23:33
lol
this seems like a good place to start
to solve my problem
indeedy
yup
there also is a few good Google videos about working with images
@JMRboosties also try to find the video about Understanding UI with Romain Guy
it's good for listview stuff ... helped me a ton
yeah he did an amazing Listview vid
but there was another one about images and animation
23:38
18
Q: Why isn't Luke taught about midichlorians

PyrodanteWe know that both Obi Wan and Yoda know about midichlorians and how they function. However Luke never is taught about them, or explained how it works. In the Jedi Academy series Luke must find alternative ways of discovering who was force sensitive. If midichlorians are so important, why wasn't ...

yea romain guy is kind of boss when it comes to android
@Merlin answer: george lucas didnt know about them until 1997
Anyone here know how long it takes for Amazon to get an app into their market? Google was being a jerk so we went with them instead.
@Pyro did it occur to you that Luke was never the sharpest tool in the box and microbiology just might blow his tiny mind?
I didn't want to post that on SFF
23:41
15
Q: Are the Weeping Angels Timelords

PyrodanteIn the End of Time the leader of the Timelords states: "The vote is taken, only two stand against and will stand as monument to their shame: the Weeping Angels of old!" (36 minutes into End of Time part 2) And the two Timelords and standing, covering their eyes like the Weeping Angels. The Docto...

I still like this one
free hand circles included
you pulled that one from the depths of time itself ... impressive
although I'm a little confused by how things work in the DW universe ... time is a tricky thing
Like in the Kindness ... not sure how the two timelines could co-exist ... at the same time
Dude ... you berated the geoffc ... brohoof
Anyways I gotta sleep or something ... night o/
night
I am also off bye!
later guys
thanks for all the help

« first day (656 days earlier)      last day (4518 days later) »