![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/170721ad-9010-470f-a4a4-ead95f51f13b.png)
6·
1 year agoMostly they’re all the same up to the last one or two methods - just set the common part as a variable?
Mostly they’re all the same up to the last one or two methods - just set the common part as a variable?
You’ll need to install/setup adb first
It’s not Age of Empires is it?
It’s also a good way to potentially multiply your query costs and slow down the function, while introducing possible inconsistencies if the objects are modified between the first and last time they are requested.