You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.
Hi,
can anybody explain why the sort of singleton in ADBClient (you accessed it using ADBClient.Instance) was removed? I see now the ADBClient needs to be sent as parameter everywhere. Is there any advantage in this?
What happens if you instantiate multiple ADBClients - doesn't that cause any issues? Or is there a special mode to do so without risk?
thx
The text was updated successfully, but these errors were encountered:
The AdbClient has a simple constructor. All that is missing from the current docs is to remove the static singleton Instance accessor usage and instead create one single instance and use that AdbClient yourself.
As with any OSS project I'm thinking either we all figure it out on our own, or we raise a PR to suggest a change.
So until anyone of us does that I suggest you just new up an instance of the AdbClient and go from there! It's suggested to only use one such instance for your app.
just see this from respone
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
can anybody explain why the sort of singleton in ADBClient (you accessed it using ADBClient.Instance) was removed? I see now the ADBClient needs to be sent as parameter everywhere. Is there any advantage in this?
What happens if you instantiate multiple ADBClients - doesn't that cause any issues? Or is there a special mode to do so without risk?
thx
The text was updated successfully, but these errors were encountered: