calidion
09/26/2023, 5:43 AMBen Ayesu-Attah
09/26/2023, 5:44 AMcalidion
09/26/2023, 5:46 AMczuckie
09/26/2023, 8:01 AMExperimental annotations for new APIs, in the hope of getting feedback on new APIs such that there will hopefully be less revisions on them once they become stable.
You should try and use a pinephone if you think that Linux provides good APIs. You'll quickly learn that the experience isn't anywhere near as good as what you'd get with an iPhone or an android phone, even one that's 5 years old. And as Linux develops you'll find that plenty of APIs change and go away.calidion
09/26/2023, 8:35 AMczuckie
09/26/2023, 9:58 AMcalidion
09/26/2023, 12:43 PMZach Klippenstein (he/him) [MOD]
09/26/2023, 1:13 PMcalidion
09/26/2023, 1:45 PMcalidion
09/26/2023, 1:47 PMZach Klippenstein (he/him) [MOD]
09/26/2023, 3:24 PMZach Klippenstein (he/him) [MOD]
09/26/2023, 3:25 PMcalidion
09/26/2023, 4:18 PMZach Klippenstein (he/him) [MOD]
09/26/2023, 7:31 PMZach Klippenstein (he/him) [MOD]
09/26/2023, 7:32 PMcalidion
09/27/2023, 4:09 AMif (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
temp = intent.getParcelableExtra(key, tClass);
} else {
temp = intent.getParcelableExtra(key);
}calidion
09/27/2023, 4:10 AMZach Klippenstein (he/him) [MOD]
09/27/2023, 2:33 PMAlex Vanyo
09/27/2023, 5:01 PMSDK_INT check in your code, you should check if there’s a version in androidx that does that logic and gives a single method to call across API versions.
In this particular case, there’s IntentCompat.getParcelableExtra from androidx.core that does that if check for youPeter
09/28/2023, 12:43 PMIntent is bundled into Android OS. So depending on the Android version, it could have different implementation. So atm it's not possible for them to update it.Peter
09/28/2023, 12:44 PMIntent wrapper, e.g. IntentCompat maybe?calidion
09/28/2023, 3:17 PMZach Klippenstein (he/him) [MOD]
09/28/2023, 4:04 PM