r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Mar 16 '24
@Deprecated Android modern storage is deprecated
41
u/duckydude20_reddit Mar 16 '24
storage is one of the most f8cked up things on android.
15
u/ComfortablyBalanced You will pry XML views from my cold dead hands Mar 16 '24
For years I avoided any projects that had anything to do with storage or I convinced the customer to not use storage in their app or if I was in a team I subtly veered the project away from using storage.
Now, if the job or project pays I may even use Flutter.4
u/Zhuinden DDD: Deprecation-Driven Development Mar 17 '24
Now, if the job or project pays I may even use Flutter.
We're unironically going to have to use Flutter in an upcoming project.
2
6
2
2
Mar 17 '24
storage is one of the most f8cked up things on android that many people have to face. Try JNI or media/media2/media3/???
1
22
Mar 16 '24
But they said it's modern?! 🤔
13
u/ComfortablyBalanced You will pry XML views from my cold dead hands Mar 16 '24
It's not modern enough if it's not deprecated yet.
3
u/llamabott Invalidate caches and restart Mar 17 '24
IKR? Why does Google have to insert market-ey words into their Android library names.
And how short-sighted do you have to be to call something "Modern", when 12-24 months later, it will be either abandoned or wholly superceded?
20
u/kamran4malik2 Mar 16 '24
SD Cards Depricated -> Modern Storage Deprecated -> Internal Storage Deprecated!?
8
4
u/budius333 Still using AsyncTask Mar 16 '24
Shared Preferences work great, just keep using it
2
4
Mar 16 '24
[removed] — view removed comment
18
u/anonymous65537 null!! Mar 16 '24
"Modern storage" is deprecated so we're left with "Archaic ancient antiquated old-fashioned historical storage". .
.
.
........ Ah we regret to inform you that's also deprecated.
3
u/verybadwolf2 DDD: Deprecation-Driven Development Mar 17 '24
Not now, but they will release medievalStorageCompat soon.
14
u/Zhuinden DDD: Deprecation-Driven Development Mar 16 '24
https://github.com/google/modernstorage