r/androiddev • • Sep 05 '23

Any other major Android development changes other than the ones below?

Post image
404 Upvotes

173 comments sorted by

179

u/WestonP Sep 05 '23

Your code -> deprecated

3

u/Ookie218 Sep 06 '23

THIS!!! πŸ˜‚

159

u/aetius476 Sep 05 '23

ANT -> Gradle

...I'm old

14

u/fr0z3nph03n1x Sep 05 '23

I was there! We had a few months were we straight up could not get the build to work because of bugs in the gradle rollout. Huge help from commonsware documenting it all on stackoverflow because back in the day SO was the only place to find accurate android docs.

3

u/Zhuinden Sep 05 '23

That's literally kinda when i started out back then

2

u/nemoo07 Sep 06 '23

because back in the day SO was the only place to find accurate android docs.

Coming from NodeJs, I thought/still think there is scarcity of learning resources, as the Android docs is nearly the only one.

1

u/mightYmOuse2500 Sep 07 '23

Disagreed. I think MDN is at least top 3 best online docs around.

1

u/nemoo07 Sep 08 '23

I was talking about android

2

u/SpiderHack Sep 06 '23

We were working on course material for coursera at the time and this legit delayed the courses by several months, cause we needed a reliable build system. Building tests to be used by 100k+ individuals... With a buggy build system... Fun...

1

u/flanhelsinki Sep 06 '23

dude CommonsWare saved my butt several times. I ended up buying his book for several editions, not because I needed the info (I ramped up on android development pretty well), but just as a way of saying "thanks" for always coming through in the clutch on Stack Overflow

7

u/blindada Sep 06 '23

Actually, is Ant->Maven->Gradle. The good old days of the Maven SDK deployer...

Also, apklib to aar.

2

u/Zhuinden Sep 06 '23

is Ant->Maven->Gradle.

Honestly, only hipsters used Maven for Android, but was never the "official" recommendation

It was a hipster thing that hipsters figured out how to piece together. Kinda like Bazel or Buck these days.

2

u/blindada Sep 06 '23

Yep, but a ton of things have never been an official recommendation, and maven was the only way to build android libraries at that time. The whole thing was a community effort.

1

u/Zhuinden Sep 06 '23

and maven was the only way to build android libraries at that time.

Dang i'm young :D okay in that case, that is cool

1

u/blindada Sep 07 '23

And now I feel even older :D

123

u/geecko Sep 05 '23

Apk -> app bundle

91

u/carstenhag Sep 05 '23

ButterKnife -> Databinding or Kotlin Synthethics -> Viewbinding. Come on, did you forget about that pain already? :D

16

u/Xammm Jetpack Compost enjoyer Sep 05 '23

I'm still using ButterKnife at work 😭

9

u/wolf129 Sep 05 '23

I am currently migrating butterknife to viewbinding in an 10 year old project πŸ™ƒ

1

u/sieunhanchevoi Sep 06 '23

How you migrating? Keep ButterKnife and apply Viewbinding for new class?

4

u/wolf129 Sep 06 '23

Since butterknife was removed from the dependencies, I replace every binding manually.

1

u/sieunhanchevoi Sep 06 '23

thanks, that's a very hard working.

1

u/FickleBumblebeee Sep 21 '23

Why? They both do exactly the same thing under the hood. Seems like a waste of time.

5

u/dark_mode_everything Sep 06 '23

Could be worse. You could be working with synthetics.

1

u/SpankaWank66 Sep 13 '23

I don't get the hate got synthetics, it's worked great for me. Is there a scenario where it is not good?

13

u/Nihil227 Sep 05 '23

There were also the archaic findViewByIds() before ButterKnife.

DataBinding was such a stupid idea, who wants to code in freaking xml.

4

u/gild0r Sep 06 '23

Nobody codes on freaking xml with databinding, it's much more declarative than manual bindings of views

-2

u/Nihil227 Sep 06 '23

I'm not against the concept itself, it works great with Compose. But it requires doing OOP in XML, it's hard to debug and I never got the autocompletion to work properly.

4

u/gild0r Sep 06 '23

Doing OOP in XML what are you even talking about? It's not harder to debug, generated code is perfectly readable and debugable Autocomplete and navigation also works fine, not perfect in case of binding adapters, but no issues with model autocomplete

9

u/[deleted] Sep 05 '23

I way preferred findViewById, it was pretty straightforward and every solution except Compose UI felt more awkward.

1

u/[deleted] Sep 06 '23

I mean, all of the other solutions do findViewById() under the hood AFAIK

1

u/chmielowski Sep 07 '23

DataBinding was a very good idea IMO. I prefer binding the values to views in a declarative way.

1

u/monterey555 Sep 06 '23

Omg this, i cant work with compose before migrating kotlin systenthic to view binding.

99

u/AoDevBlue Sep 05 '23

Hmmm, the first column is not a specific point in time, right? Because RxJava x Eclipse seems weird.

Here are some more changes:

  • AsyncTask -> EventBus -> RxJava -> Kotlin Coroutines

  • AppCompat -> Jetpack (Androidx)

  • Holo -> Material

  • ListView -> RecyclerView

  • RelativeLayout -> ConstraintLayout

  • MVP -> ViewModel

32

u/alvinrxg Sep 05 '23

EventBus

ahhh the good old friend. i had to add the sender info in all events, otherwise we had no idea, where the event comes from

ViewModel

you mean MVVM

13

u/Zhuinden Sep 05 '23

I'm glad MVP is dead, still waiting for MVI to go with it tho

1

u/_abysswalker Sep 05 '23

I’m waiting for MVU.. MVVM is still the base, some have switched to MVI, but MVU is so simple yet, pretty much, unknown

3

u/Zhuinden Sep 05 '23

but MVU is so simple yet, pretty much, unknown

Probably because Elm came out with a bang and died just as quickly, and hasn't been touched in 4 years

2

u/kokeroulis Sep 05 '23

MVU

What is this? Is it MVI where you map the intent to an extra action?

4

u/Xammm Jetpack Compost enjoyer Sep 05 '23

I heard it first about that pattern from folks who were using Xamarin Forms with F# and no Xaml at all. It's supposedly to work better with reactive and declarative UI frameworks like Compose because it uses the same principle stating that your UI (view) is an output of your state (model). It's considered for some as the MV* pattern for functional programming, though it's funny that isn't mentioned at all between the people who work with Compose, Flutter, React, etc.

-2

u/e-tns Sep 05 '23

you can try OrbitMVI library. I've been working with on a middle size project and it worked great with Jetpack Compose

2

u/Zhuinden Sep 05 '23

I'm aware of OrbitMVI, and as with pretty much all MVI frameworks, you can achieve the exact same (or better) result by having either RxJava or Coroutine Flow in your project, and using SavedStateHandle directly. That way, loaded data won't be directly placed into your "state" and persisted to Bundle, and then you scratching your head how you can workaround the 1 MB limitation of the Bundle without just flat-out ripping out OrbitMVl and removing OrbitViewModels with their inherited generic parameters out of the project.

The problem is that if your event processing did require strict serialization, it should be internal implementation detail, not inherited as a base class then overwriting your public api with Orbit's implementation details. State management frameworks that you inherit your API from are pretty much always tech debt.

2

u/kokeroulis Sep 05 '23

That way, loaded data won't be directly placed into your "state" and persisted to Bundle

You can define a custom strategy for the serialization and serialize only a set of the properties, for the rest you restore a default value

1

u/Zhuinden Sep 05 '23

You can define a custom strategy for the serialization and serialize only a set of the properties, for the rest you restore a default value

Source code does not support this claim

1

u/kokeroulis Sep 05 '23

Your State is a Parcelable, you can define your logic on the Parcelable itself

2

u/diet_fat_bacon Sep 07 '23

ConstraintLayout is much better! Was a good change.

3

u/zigbigidorlu Sep 05 '23

Isn't recyclerview replaced with LazyColumn from compose?

45

u/dumpsys Sep 05 '23

Dalvik to ART

28

u/dadofbimbim Sep 05 '23

There was the 9 patch tool.

3

u/fr0z3nph03n1x Sep 05 '23

What is used instead?

1

u/gild0r Sep 06 '23

Exactly No replacement for 9-patch, it was a great idea and I would love to see a standard solution for vector drawables Though, many cases can be solved by xml drawables or with code on Compose, but still there are some cases when 9-patch would be the easiest solution

1

u/[deleted] Sep 06 '23

Replacement could be VectorDrawable

1

u/Nek_12 πŸš€Respawn Sep 10 '23

Brains

50

u/jobR45 Sep 05 '23

LiveData -> Flow

16

u/Cirkey2 Sep 05 '23

StateFlow but yeah

3

u/gild0r Sep 06 '23

Not really, LiveData -> all different kinds of Flow You don't need StateFlow everywhere, sometimes you need Flow (which itself can have different implementations), LiveData just didn't have types to represent real Cold flows and emulate it by never initializing current value

7

u/Samael1990 Sep 05 '23

Is there something that makes Flows lifecycle-aware?

8

u/Cirkey2 Sep 05 '23

repeatOnLifecycle

6

u/flanhelsinki Sep 05 '23

.collectAsStateWithLifecycle()

5

u/Roxy- Sep 05 '23

LifecycleOwner or LifecycleObserver.

2

u/Zhuinden Sep 06 '23

FlowWithLifecycle

40

u/HeyItsMedz Sep 05 '23

Cursors -> Room

17

u/Zhuinden Sep 05 '23

It's more like SqliteOpenHelper (or Realm πŸ€”) -> Room

I haven't heard from ObjectBox in a while either.

1

u/[deleted] Sep 06 '23

Sqlbrite is da best

2

u/Zhuinden Sep 06 '23

Ngl SqlBrite was a great idea. It's basically what Room is doing when you use it with Observable<List<T>>

1

u/gild0r Sep 06 '23

It's now a part of SqlDelight

1

u/gild0r Sep 06 '23

Common, it's long time dead, all hail SqlDelight

24

u/[deleted] Sep 05 '23

Room -> GreenDao

MotionLayout -> NineOldAndroids

Toolbar -> SherlockActionBar

ViewBinding -> Kotlin Synthetics -> ButterKnife

/s 😜

3

u/fahad_ayaz Sep 05 '23

ActionBarSherlock* It flooded my mind with memories though! I forgot that it existed

3

u/gizmo777 Sep 05 '23

ActionBarSherlock is a real throwback. God trying to support API v7 and v13 and everything around them was a nightmare

1

u/BabytheStorm Sep 05 '23

I was android dev until 2020, and I dont know anything on the right. Android evolves so fast

1

u/monterey555 Sep 06 '23

Haha i miss ActionBarSherlock

4

u/[deleted] Sep 05 '23

[removed] β€” view removed comment

1

u/[deleted] Sep 06 '23

same here :c

8

u/Wrong_Caregiver1658 Sep 05 '23 edited Sep 05 '23

ListView -> RecyclerView

2

u/fahad_ayaz Sep 05 '23

RecyclerView.Adapter -> ListAdapter

8

u/Fo0nT Sep 05 '23

Groovy -> Kotlin DSL + Version Catalogs

6

u/martypants760 Sep 05 '23

Activities - > Fragments (for navigation)

Fragments - > Activities (adaptive layouts)

5

u/chrispix99 Sep 05 '23

JetPact???

It's JetPack

5

u/gerschiegen Sep 05 '23

C2DM -> GCM -> Firebase CM

2

u/gild0r Sep 06 '23

There are no changes from GCM to FCM, just a rebranding

4

u/ArkoSammy12 Sep 06 '23

Seeing this as someone who wanted to get into Android app development but only knows Java, kinda hurts a little xd

3

u/[deleted] Sep 06 '23

No problem, you can still use Java. And Kotlin is easy enough to pick up if you know Java.

7

u/MindCrusader Sep 05 '23

Gson -> moshi codegen -> kotlin serializer. Sadly not in a lot of projects

11

u/carstenhag Sep 05 '23

Also RxJava -> Coroutines is a lie.

It was RxJava 1 -> RxJava 2 -> RxJava 3 -> Coroutines, and in the middle confusedness about whether to use LiveData or not

1

u/gild0r Sep 06 '23

App RxJava versions are pretty much the same, especially 2 to 3 Also many projects never even migrated to 3, and just do coroutines directly

Just a note, I always thought that there is no reason to use LiveData if a project already uses RxJava

-10

u/Reasonable_Cow7420 Sep 05 '23

Coroutine is Γ  mess in comparaison of RxJava3

4

u/carstenhag Sep 05 '23

I worked with ~8 android devs all together in the current codebase. Only one guy sorta understood rxjava. All others including me basically have little idea, we just tinker around until it works.

1

u/FickleBumblebeee Sep 21 '23

Agreed. RxJava is much more powerful if you know how to use it

6

u/omniuni Sep 05 '23

One of the things that I'd be cautious of here is what category of change you're referring to.

Things like Eclipse, ANT, and Dalvik are literally not supported anymore.

Things like Java, XML Layouts, or Holo design are older but still completely supported.

Some things like RxJava or MVP were never really Google recommendations, just commonly used tools or paradigms that many people are replacing with newer tools or paradigms that they prefer today.

Similarly, the basic SQLite helper is still present, and Realm still works fine, Room has just gotten nice enough that it's largely preferred. Compose is, realistically, in a similar position, with wide adoption, but it's still very new and we will have to wait and see how much it catches on in the long term.

3

u/Professional_Drag703 Sep 06 '23

Shared preferences -> Datastore

Livedata -> stateflow

Intent -> navgraph

3

u/[deleted] Sep 06 '23

Cloud Messages -> Firebase Push Notifications

There was a time even without pushes at all πŸ˜‚ I had to implement by Service an opened Socket.

5

u/makonde Sep 05 '23

Jetpact?

Maybe something about fragments/navigation vs multiple activities.

5

u/Zhuinden Sep 05 '23

I'm still cautiously eager to see how in-app predictive back will change this again, considering that with Fragments, there are quirks, while the ability of stopped Activities keeping their views will make it trivial for the system to just animate back out of the box without any sorcery.

2

u/[deleted] Sep 05 '23

in-app predictive back is deprecated. /s

2

u/carstenhag Sep 05 '23

Lmao now with my 100 activities I have an easier time than folks with 200 million fragments :D

1

u/[deleted] Sep 06 '23

I mean, you can still us Fragments within activities, it's just the situation of replacing whole screen activities with Fragments that might have a problem

2

u/Zhuinden Sep 06 '23

It wouldn't have been a problem if Googlers hadn't doubled down in 2018 on destroying your view as you navigate forward. It can make the UI extremely slow, so people keep asking me how to make the Fragments keep their views. But the ViewLifecycle doesn't consider hidden stopped, but stopped triggers onDestroyView. 🀦

1

u/[deleted] Sep 06 '23

Yes, the Fragment views having a different lifecycle than the Fragment really caused some pain. I have to write code to deal with that. Don't have that problem in an activity.

8

u/RiccardoEvangelisti Sep 05 '23

Is Jetpack Compose really that good? It seems to me a bit confusionary

26

u/rogeris Sep 05 '23

It's the future of creating views for Android. There's a bit of a learning curve but you get used to it after a bit. That being said, XML layouts are totally fine for now.

10

u/redman1037 Android Developer Sep 05 '23

Ya, I like it. Not every thing is readily available though.

3

u/onlygon Sep 06 '23

It's a big learning curve because composable code is all functions that are compiled down. Everything is functional and reactive. Lots and lots of magic. The syntax made writing UI code waaaay easier but you write waaaay less simple, easy-to-understand imperative code because you just can't now. So it's very much a mixed bag IMO and par for the course for a Google invention. In addition, all the new tooling is for compose not xml and so I think the pros outweigh the cons but I still think it could have been better.

5

u/ZeikCallaway Sep 06 '23

Eh. I've used both and I prefer XML. Constraint layouts were easier to get things exactly how you want, even with more complex layouts. Jetpack compose works great for simple layouts. But when you start getting more complex it's not as easy to keep track. I've also found the way it handles properties, modifiers, to come with their frustrations and confusion.

0

u/RiccardoEvangelisti Sep 06 '23

I totally agree

2

u/NihilisticSaint Sep 05 '23

It was rushed and there are lots of bugs. You also have to do a lot on your own that personally I don't think you should have to or is overly complex. Also in their attempt to be adaptable, they gave up on their opinionated design guidelines. Is it better now? Not by a longshot. When it is more mature? Maaaaaybe. After using it for a year, I'm still a bit disappointed in Google for it.

17

u/Zhuinden Sep 05 '23

There are still things that Compose doesn't allow you to do, like customizing the context menu of selected text in a TextField, or creating custom accessibility roles like "Link" that aren't one of the 6 pre-defined roles.

1

u/[deleted] Sep 06 '23

wait, wait, wait, are you criticizing Jetpack Compose and not getting downvotes? what is this r/mAndroidDev? 🀣 haha

4

u/chrispix99 Sep 05 '23

100% and all the devs that chase shiney are drooling over it..

-5

u/jcddcjjcd Sep 05 '23

It is crap. It should only be considered by people who need to write for Apple and Android otherwise stick with Views.

I can see the stunted development is being occasioned because the whole thing has run anwhere is mind and doing that means compromises as every other framework that has tried this has discovered.

Stick to native at all cost if you can.

4

u/[deleted] Sep 05 '23

[removed] β€” view removed comment

2

u/gild0r Sep 06 '23

Not sure that it's better with Views

2

u/[deleted] Sep 05 '23

So basically they changed every single thing and they will do it again

2

u/pavloglez Sep 06 '23

SOAP -> REST

2

u/WenchiehLu Sep 06 '23

always change i am tired

2

u/Suspicious-Ad6290 Sep 06 '23

me who does everything in unity engine and do not care how apk is made

2

u/neiru37 Sep 06 '23

Threads and Runnables > AsyncTask > Loaders > RxJava > Coroutines

2

u/Zhuinden Sep 06 '23

Technically the replacement of Loaders is ViewModel.

2

u/Ok-Ebb-3987 Sep 06 '23

in addition to the mentioned changes, we've also revamped the UI for a more intuitive user experience, resulting in increased engagement and satisfaction! πŸ˜„ #AndroidDev #ProductHunt

1

u/Zhuinden Sep 06 '23

Dang, you look like a hacked account

2

u/[deleted] Sep 08 '23

groovy to kotlin dsl

3

u/user926491 Sep 05 '23

it should be rxjava -> kotlin flow rather than coroutines

1

u/[deleted] Sep 06 '23

Actually, Flow + coroutines are needed to get the same functionality as RxJava

1

u/SweetStrawberry4U Sep 05 '23

Second this, but that's the how we evaluate who understands what !

There was this one time I tried to explain to the interviewer that everything in Android runs on the Main-thread-group, as in, button-click, text-entry, drop-down selection, list scrolling, as a matter of fact even network I/O, "unless and until" we write custom code to explicitly, deliberately perform that network I/O on a different thread / executor-pool etc etc. Needless to say, Glad ! I didn't get selected.

3

u/isthemartin Sep 05 '23

Enum class -> Sealed class; If else -> when

13

u/illusion102 Sep 05 '23

Enums and sealed chases are different things for different purposes

0

u/[deleted] Sep 06 '23

Sealed classes are a nice enum+

3

u/JacksOnF1re Sep 05 '23

That's just java -> kotlin and enums and if blocks are still valid.

1

u/Background-Giraffe44 Sep 06 '23

dnskj^&&%&^78) --> CMAKE Android Studio

if anyone remember how to build C++ code in Android old days

1

u/ballzak69 Sep 06 '23

File -> SAF

1

u/Nafnlaus00 Sep 06 '23

That day is not far when Android --> whole new different thing :⁠,⁠-⁠)

1

u/lifeinbackground Sep 06 '23

Jetpact? Dark pact

1

u/miguelv_ Sep 06 '23

Intents -> Jetpack Navigation -> the atrocity that is Compose navigation -> Compose Destinations

1

u/MadBeardedViking Sep 06 '23

OkHttp -> Volley -> Retrofit

2

u/Nek_12 πŸš€Respawn Sep 10 '23

Retrofit -> Ktor

1

u/hans____ Sep 14 '23

Activities, dynamically swapping views -> SPA with fragments -> SPA with compose
finally getting rid of the fragments-architecture mistake.

0

u/rxShri99 Sep 05 '23

Android -> Flutter

12

u/kokeroulis Sep 05 '23

Android -> Flutter

They said the same about Cordova and RN years ago

5

u/fahad_ayaz Sep 05 '23

Kotlin Multiplatform? 😜

2

u/[deleted] Sep 06 '23

I mean, React Native is pretty popular still, but only because the decision makers are idiots who use it because they're cheap and think it will save them money

1

u/koun7erfit Sep 05 '23

Last time I checked it didn't exist, is there a good sample app that pulls from some public API that uses all these things?

1

u/kokeroulis Sep 05 '23

One year later: MVVM -> Circuit

2

u/SweetStrawberry4U Sep 05 '23

Circuit

But Why ? Why can't we just do the tried-and-tested Fragment `has a` FragmentScopedViewModel via `by viewModels` that Hilt already injects, including a `viewLifecycleOwner's lifecycleScoped repeatOnLifecycle` to observe one-and-only instance of `StateFlow` hosted by that `@HiltViewModel` ?

0

u/kokeroulis Sep 06 '23

Fragment is a lifecycle container. NavGraph is the same thing on navigation Compose. They provide the exact same features. You have a distinct Lifecycle on every case. Circuit is the exact same thing.

On Circuit or on Compose with Navigation Components, you can do the exact same thing. You can obtain a VM with viewModels, have a distinct Lifecycle, use collectAsStateWithLifecycle and observe one-and-only instance of StateFlow.

Why would you keep Fragments around only if the only thing that you want, is what is already being provided by the alternatives?

2

u/SweetStrawberry4U Sep 06 '23

No, my question was, why do I need Circuit, an alternative library, setup Presenters and UI as Screens, if Fragments are just doing the same, out-of-the-box from androidx library ?

0

u/Zhuinden Sep 05 '23

One year later: MVVM -> Circuit

...which is MVP

1

u/kokeroulis Sep 06 '23

Is it though? MVP had the downside that the presenter knew about the view. On Circuit you are just producing a state. If you want you can decouple that completly from Compose UI and use molecule.

To me it looks more like MVVM "without any state holders" and reducers.
If I remember correctly you also didn't like StateFlow/SharedFlow, what you were suggesting was to combine a bunch of streams together and use LiveData/PublishSubject to fire events.

0

u/Zhuinden Sep 06 '23

and use LiveData/PublishSubject to fire events.

I definitely didn't propose using LiveData for firing one-off events πŸ˜… I wrote a library to not do that.

If I remember correctly you also didn't like StateFlow

StateFlow is great, just not for one-off events. Tho in MVP "as done on Android", everything was a one-off event, which is why it didn't work well at all.

1

u/kokeroulis Sep 06 '23

I definitely didn't propose using LiveData for firing one-off events πŸ˜…

I cannot really tell, its been way to long since i read that blogpost, I don't even remember where it was . I think you were using the LiveData in order to keep the "State" and PublishSubject to emit events.

1

u/Zhuinden Sep 06 '23

I think you were using the LiveData in order to keep the "State" and PublishSubject to emit events.

That's more likely, because that's technically a correct approach. LiveData is effectively equivalent to MutableStateFlow, after all. If the article was using LiveData, it was to make use of savedStateHandle.getLiveData().

1

u/Professional_Drag703 Sep 06 '23

Shared preference -> datastore

Livedata -> stateflow

Intent -> navgraph

-3

u/flanhelsinki Sep 05 '23

what the hell is Jetpact Compose

-8

u/e-tns Sep 05 '23

Maybe Rust instead of Kotlin?

11

u/msfjarvis Sep 05 '23

Wat

0

u/e-tns Sep 05 '23

5

u/Xammm Jetpack Compost enjoyer Sep 05 '23

In that case it would be C++ -> Rust. Afaik, Rust is used for the Android OS and the low level stuff, not for developing apps.

1

u/e-tns Sep 05 '23

I've just saw some articles about it. This is why I put it as a question.

3

u/gild0r Sep 06 '23

It's Rust used for development of Android (AOSP) itself, there is no official rust support on level of NDK APIs, just usual C API

-1

u/AllThingsEvil Sep 06 '23

Java 8 -> 11 -> 17

Check out toml files for dependencies

REST -> GQL

3

u/gild0r Sep 06 '23

GQL is definitely not replaced REST, also barely it's something Android specific

1

u/AllThingsEvil Sep 06 '23

Perhaps not but I think it's becoming the more popular option.

Neither is Java -> kotlin

2

u/gild0r Sep 06 '23 edited Sep 08 '23

I don't think that it is the correct comparison Kotlin is the default and recommended language for Android, new UI framework of Android cannot even be used from Java And the amount of apps that do not use Kotlin is in the minority now. Java has not disappeared of course, but Android community in general switched to Kotlin

In case of REST there is no recommendation and if you just check public http APIs, small minority provides GQL, and even if GQL exists, often they also have REST version

My point was that REST is a lot more popular and that GQL has nothing to do with Android development directly, client applications use what is provided by server side: rest, gql, grpc or any other protocol