public class ImageStream
extends Fragment
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImageStream.Listener
Listener for observing the user interaction with the ImageStream
|
static interface |
ImageStream.ScrollListener
Informs about the scroll position of the ImageStream BottomSheet.
|
| Constructor and Description |
|---|
ImageStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ImageStream.Listener listener)
Add a
ImageStream.Listener for getting notified when the users selects/deselects an attachment
or the ImageStream gets visible or dismissed. |
void |
addScrollListener(ImageStream.ScrollListener listener)
Add a
ImageStream.ScrollListener to get informed when the ImageStream gets dragged by the user. |
void |
dismiss()
Hide the ImageStream if visible
|
KeyboardHelper |
getKeyboardHelper()
Gets the currently install
KeyboardHelper |
boolean |
isAttachmentsPopupVisible()
Check if the ImageStream is currently visible.
|
void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onPause() |
void |
onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults) |
boolean |
wasOpen()
Check if the ImageStream was visible before the last configuration change.
|
public void onCreate(android.os.Bundle savedInstanceState)
public void onPause()
public void onRequestPermissionsResult(int requestCode,
java.lang.String[] permissions,
int[] grantResults)
public void onActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
public KeyboardHelper getKeyboardHelper()
KeyboardHelperpublic void addListener(ImageStream.Listener listener)
ImageStream.Listener for getting notified when the users selects/deselects an attachment
or the ImageStream gets visible or dismissed.public void addScrollListener(ImageStream.ScrollListener listener)
ImageStream.ScrollListener to get informed when the ImageStream gets dragged by the user.public void dismiss()
public boolean wasOpen()
true if it was visible, false if notpublic boolean isAttachmentsPopupVisible()