« first day (3931 days earlier)      last day (1003 days later) » 
01:00 - 20:0020:00 - 00:00

8:00 PM
profile picture
 
yeah we believe you
 
Tim
good save
 
I'm boycotting pfp for profile pic because it doesnt even make sense
it's pp or nothing
 
So if I disable notifications wouldn't it make sense to disable the app from running in the background?
 
8:06 PM
no
 
go on
 
Why should it make sense to disable?
 
I get that you're trying to swap the two to make it make sense, but it doesn't work that way
notifications are spawned from an app not the other way around, so if you disable the app the notifications should also be disabled IMO
 
Let's take the Play store app as an example. You disable the notifications for it but it still runs in the background and does it things
 
well if the notifications keep the app open in the background and you disable notifications well what is the point of keeeping it running in the bacgkround
 
8:08 PM
because there are other reasons for it to be running in the background
like location services etc
depending on the app of course
 
that should be a permission
IMO
is there a way to have all apps run in a sandbox to prevent background app usage
for rooted phones maybe?
 
maybe there is a linux OS phone or something
 
Tim
@Lime notifications don't keep the app open in the background
 
background usage should be a permission
 
Tim
it is
 
8:16 PM
interesting so what is going on with messager
 
Tim
you're running it on a 4 year old OS
 
okay so the new OS has background usage as a setting
where can I see this on the play store permissions?
 
Tim
you tell me, you stated this setting exists
 
it appears to not from googling
 
Tim
8:32 PM
why are we looking at data usage
 
location permissions is the next closest setting i have been able to find
 
im sure if you just looked/tried harder then you'd find all the settings you want
im also trolling
 
lol
 
I want a new phone
 
Tim
nord 2 announced tomorrow
 
8:46 PM
yeah I've been waiting for that so I can buy one
since the N10 5G is out of stock seemingly permanently
and the n100 and n200 5g have garbage cameras
 
what do you need a camera for? just reuse your photos from 2015 whenever you need one
 
haha that's what I've been doing already
people notice
my camera focus broke on my phone after like 2 months of having it lol
i've been taking wide angle pics exclusively for the past 3 years
 
Tim
didn't feel like returning it?
 
I've had my One plus 6t for 2y now, 100% would buy again as a next phone if it was still sold
 
Tim
I got a nord to replace my dead 7 and I swear it's the exact same phone
but half the price
 
9:00 PM
wasn't the 7 just released 2y ago or so? and it's already dead?
 
Tim
I let it fall give or take 250 times before it finally cracked
 
yo
 
@Tim I bought it used unfortunately
 
Tim
oh ok
 
@Tim oh you did eh?! how do you like it?
 
Tim
9:08 PM
still a stellar purchase
I like it the same as my OP7
it's amazing
 
niice
I've been stoked on getting one for a few months but waiting for this one to die, but sick of waiting for it to die
and when I finally decided to say fuck it.. out of stock lol
 
did you ever get your iphone/apple id figured out?
 
@Tim ah ok XD
 
not yet, they're sending me some sort of email in a week or 2
 
My guess is they are watching for activity on the account
Good luck
 
9:14 PM
that makes sense, I was wondering what they would need 2 weeks for
 
ah yes, I also need to check the status of my apple id reset
 
hahaha
looks like I have 8 days left on mine
it's both kind of nice that they do this, and also a total PITA
 
still 10 days, wtf
 
if they're gonna be this weird about it, they should give you codes to print off like google does
instead of locking me out of a work account for liek 15 days
lol
 
the problem with codes is that people don't store them securely...or lose them
Funfact: FaceTime was supposed to be open source and universal
 
Tim
9:32 PM
ok
 
and then what happened?
money?
that wasn't a fun fact
here's a good fun fact, did you know that you are 13.8 percent more likely to die on your birthday?
\o
 
@ballBreaker i think some copyright issues
 
9:48 PM
@Tim how is nord?? like i read some reviews which say that it has lots of issues?? is that true?
 
|| funfact
 
The world record for spitting a watermelon seed is 65 feet 4 inches.
 
Tim
@Adityashukla "lots of issues"?
 
@Tim ya like over heating, high lag during night shoot
 
Tim
10:05 PM
sounds like one edge case issue
 
/0
Folks, if we create a class **MyDialog** that is derived from **DialogFragment** class and **MyDialog** must mutate a field defined in **MainActivity** class whenever a certain button defined in **MyDialog** is clicked, what is the recommended approach (or design pattern) to realize this scenario?


Some people invoke **getActivity** (to obtain **MainActivity** reference) from **MyDialog** and mutate the field of **MainActivity**.

I feel this approach seems to be tightly coupled between **MyDialog** and **MainActivity**.
Why the markdown to bold text does not work?
 
Tim
10:26 PM
@ballBreaker apparently I randomly ended up in the place where should go last in this 'area' :/ could have done with 'recommended quest level' indicator
chat markdown doesn't work in multiline messages
 
I see. Thank you!
 
Tim
and "MyDialog must mutate a field defined in" you never want to do this
@ballBreaker no wonder I've died here like 20 times even after skipping the blue boi
 
posted on July 21, 2021 by Saurabh Chaudhary

Android Studio - Bumblebee | 2021.1.1 Canary 4 is now available in the Canary and Dev channels. If you already have an Android Studio build on the Canary or Dev channel, you can get the update by clicking Help > Check for Update (or Android Studio > Check for Updates on macOS). Otherwise, you can download here. For information on new features and changes in all preview builds of Android

 
Because I don't know how to retrieve the output data from MyDialog from MainActivity when the dialog get closed.
I notice new MyDialog().show() does not block the statements that follows. So If I define a public field in MyDialog and try to call it right after new MyDialog().show(), the field is not properly processed and may be null. :-)
 
Tim
it is properly processed, but you don't yet understand how the code is executed
I mean it does what it's supposed to do, but your expectations are 'wrong'
 
10:34 PM
Yes. The code does not flow as what I expect.
 
Tim
use functions to tell a class what to do, or to inform it that something happened. Don't modify the fields of other classes, always make them private unless you have a very good reason not to
 
Yes. I always use methods to change fields. I made the discussion simpler by just saying a public field.
 
Tim
don't do that
 
the bigger part of everything that's happening inside the regular android app is async, so you have to account for that
one way would be to register a callback that's going to be fired once desired state gets achieved
the other approach (a bit more modern i believe) would be to use a shared ViewModel to share data between
 
OK. Thank you very much for the suggestions.
            DialogNewNote dnn = new DialogNewNote();
            dnn.show(getSupportFragmentManager(), "");

            Log.d("status", dnn.tempNote == null ? "null" : "not null");
The log always produces null because tempNote has not been properly processed as what I expect.
 
11:13 PM
@Ahmad powerful but hard music sigh
 
01:00 - 20:0020:00 - 00:00

« first day (3931 days earlier)      last day (1003 days later) »