4

我希望应用程序在用户关闭自定义选项卡时关闭。

我尝试过:

public interface ConnectionCallback {
        /**
         * Called when the service is connected.
         */
        void onCustomTabsConnected();

        /**
         * Called when the service is disconnected.
         */
        void onCustomTabsDisconnected();
    }

但不会工作。

ps 是 android/java 新手

4

0 回答 0