Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在我看到检索令牌的两个功能都是同步的(getRequestToken 和 getAcessToken)。
是否可以异步检索它们,并在后台显示进度?
PS我在Android平台下工作。
非常感谢。
是的,只需在 AsyncTask 中调用这些方法并显示 ProgressDialog。看一个例子。