LoginSignup
5
6

More than 5 years have passed since last update.

Android Studioで実装したいインタフェースのメソッド自動生成

Last updated at Posted at 2016-08-09

Android Studioでインタフェースを実装しようとすると次のようにメソッドを実装するように求められます.
impError.PNG
しかし,大量にメソッドがあった場合,手で書くのは大変です.なので,Android Studioでは実装すべきメソッドを自動で追加してくれる機能があります.

  1. 実装したいインタフェースを右クリックする
  2. 「Generate」をクリックする
    imp2.PNG
  3. 「Implement Methods...」をクリックする
    imp3.PNG
  4. 実装したいメソッドを選択して「OK」を押す
5
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
6