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.
Android ボタンのカスタム リスナーを作成する必要があります。Listener は、別のクラスから refresh メソッドを呼び出す必要があります。アイデアをください。
ありがとう
既存のリスナーを使用できます。リスナーまたは任意のポイントでそのクラスからオブジェクトを作成し、そのメソッドを呼び出すだけです。