You need to subscribe for instruments after the connection is successful. We use this approach on all our platforms. You can change callback anytime but isn't it easy to combine both write a wrapper as in write a method and give that as callback but your method1 is called from there if logged in or else call method2.
We use this approach on all our platforms.
You can change callback anytime but isn't it easy to combine both write a wrapper as in write a method and give that as callback but your method1 is called from there if logged in or else call method2.