I migrated over to a DualHttpClientManager class with proxy and non proxy okhttp clients that keep being recreated when the connectivity or Tor's services restart or change ports using Flows.
Not sure if that's the way everybody should be making these, but that's the "New way"
Amber is still using the old (simpler) way: 
GitHub
amethyst/amethyst/src/main/java/com/vitorpamplona/amethyst/Amethyst.kt at main · vitorpamplona/amethyst
Nostr client for Android. Contribute to vitorpamplona/amethyst development by creating an account on GitHub.
GitHub
Amber/app/src/main/java/com/greenart7c3/nostrsigner/Amber.kt at master · greenart7c3/Amber
Contribute to greenart7c3/Amber development by creating an account on GitHub.