public class

PopupContainerView

extends LinearLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ com.esri.android.map.popup.PopupContainerView

Class Overview

The PopupContainerView class provides the basic user interface (UI) and behavior for displaying and editing information about graphics in a popup. It holds and manages one or more Popup objects to provide UI for attribute editing, media displaying, attachment managing, and etc. It also manages the transitions between popups.

Summary

[Expand]
Inherited Constants
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Methods
void disableSwipe()
Disable swipe.
void enableSwipe()
Enable swipe.
int getCurrentPopupIndex()
Return the current popup's index.
int getPopupCount()
Return the number of popups in the list.
void setCurrentPopup(int popupIndex, boolean smoothScroll)
Scroll to the popup at the specified index.
void setOnPageChangelistener(ViewPager.OnPageChangeListener pageChangeListener)
Sets the on page changelistener.
[Expand]
Inherited Methods
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.view.ViewParent
From interface android.view.ViewManager
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource

Public Methods

public void disableSwipe ()

Disable swipe.

public void enableSwipe ()

Enable swipe.

public int getCurrentPopupIndex ()

Return the current popup's index.

Returns
int the current popup's index

public int getPopupCount ()

Return the number of popups in the list.

Returns
int the number of popups

public void setCurrentPopup (int popupIndex, boolean smoothScroll)

Scroll to the popup at the specified index.

Parameters
popupIndex int: the index of the popup to make current
smoothScroll boolean: True to smoothly scroll to the new popup, false to transition immediately

public void setOnPageChangelistener (ViewPager.OnPageChangeListener pageChangeListener)

Sets the on page changelistener.

Parameters
pageChangeListener ViewPager.OnPageChangeListener: the on page changelistener