java.lang.Object |
↳ |
com.mapsted.inapp_notification.MapstedInAppNotificationsApi |
Class Overview
Use MapstedInAppNotificationsApi to show in app notification widget.
The widget will be show in the fragmentContainerView that you will provide in the constructor.
The widget is InAppNotificationsFragment
fragment.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.mapsted.inapp_notification.InAppNotificationsApi
|
Public Constructors
public
MapstedInAppNotificationsApi
(FragmentManager supportFragmentManager, FragmentContainerView fragmentContainerView, MapstedInAppNotificationsApi.Listener listener)
Parameters
supportFragmentManager |
fragmentManager |
fragmentContainerView |
the widget will be shown in this view.
Example:
|
listener |
listener when user interaction with the widget
|
Public Methods
public
void
removeFromInAppNotificationBar
(String id)
Remove an item from the widget
Parameters
id |
id of the inapp notification. getId()
|
public
void
showInInAppNotificationBar
(InAppNotification inAppNotification, boolean showInFront)
show provided item in the widget
Parameters
inAppNotification |
item to show |
showInFront |
by default, item are placed in the end. set this to true if you want the item to be shown in the front.
|