« first day (3920 days earlier)      last day (1251 days later) » 

02:01
@Lime it's coming back next mac
Tbh even as an Apple fan imo iPhones are overpriced
I don't need a powerful phone, gimme a shitty chip
I prob won't upgrade for a while
 
3 hours later…
05:31
Hi folks, is it necessary to invoke isChecked() method when using RadioButton? The following official documentation shows something that I think it is not necessary, right?
public void onRadioButtonClicked(View view) {
    // Is the button now checked?
    boolean checked = ((RadioButton) view).isChecked();

    // Check which radio button was clicked
    switch(view.getId()) {
        case R.id.radio_pirates:
            if (checked)
                // Pirates are the best
            break;
        case R.id.radio_ninjas:
            if (checked)
                // Ninjas rule
            break;
    }
}
Whenever we click one radio button, it is automatically get checked so there is no need to check whether it is checked or not.
If you answer my question, please kindly ping me. Thank you.
 
5 hours later…
10:04
This was the most starred message last year on this day:
Hmm. Actually, nothing interesting was said on this day last year.
 
2 hours later…
12:01
The last message was posted 1000 centuries ago.
12:21
@JBis Nice. So, is it no longer going to use USB-C for charging?
 
2 hours later…
user15686227
14:01
How to make an API call in Jetpack Compose?
Tim
Tim
14:19
the same
user15686227
14:37
Can anyone answer my question?
Tim
Tim
I answered your question
Folks, how to get the application context from the anonymous listener below? Is it correct?
        spinnerGenders.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
            @Override
            public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
                Toast.makeText(getApplicationContext(), parent.getItemAtPosition(position).toString(), Toast.LENGTH_SHORT);
                tvText.setText(parent.getItemAtPosition(position).toString());
            }

            @Override
            public void onNothingSelected(AdapterView<?> parent) {
I found the Toast does not show up. However no problem for the textview tvText. I think I don't get a proper context?
Ah... I am so stupid. I forgot to call show(). Problem solved. :-)
Tim
Tim
15:19
you should not use the application context for the purpose of showing some UI on a screen
 
2 hours later…
17:16
I have noticed there are no APIs for force quitting applications is this by design
I mean that is root/sudo/admin privileges allowing this
17:59
@Lime yeah, ART works in misterious ways
18:16
@IvanMilisavljevic android is not an art
Anyways they deprecated these apis
18:57
ART - android runtime
Tim
Tim
another thing that android has but iOS doesn't
 
4 hours later…
23:12
@twiz My guess is both will work. As in, if you have a display that supports charging via usb-c than you don't need magsafe, but if you want magsafe you can. Magsafe MAY be faster charging as well.

« first day (3920 days earlier)      last day (1251 days later) »