Class InfoWindow.DefaultTextAdapter

  • Enclosing class:
    InfoWindow

    public abstract static class InfoWindow.DefaultTextAdapter
    extends InfoWindow.DefaultViewAdapter
    기본 배경 말풍선 이미지와 콘텐츠 텍스트를 사용해 정보 창의 이미지를 지정하는 어댑터.
    • Constructor Detail

      • DefaultTextAdapter

        public DefaultTextAdapter​(@NonNull
                                  android.content.Context context)
        생성자.
        Parameters:
        context - Context 객체.
    • Method Detail

      • getContentView

        @NonNull
        @UiThread
        public final android.view.View getContentView​(@NonNull
                                                      InfoWindow infoWindow)
        infoWindow에 나타낼 콘텐츠 View를 반환합니다.
        Parameters:
        infoWindow - InfoWindow 객체.
        Returns:
        infoWindow에 나타낼 콘텐츠 View 객체.
      • getText

        @NonNull
        @UiThread
        public abstract java.lang.CharSequence getText​(@NonNull
                                                       InfoWindow infoWindow)
        infoWindow에 나타낼 콘텐츠 텍스트를 반환합니다.
        Parameters:
        infoWindow - InfoWindow 객체.
        Returns:
        infoWindow에 나타낼 콘텐츠 텍스트.