session-android/src/org/thoughtcrime/securesms/mediasend/MediaSendPageFragment.java
Greyson Parrelli 6fa7eca60b Implement new media send flow.
Update our media send flow to allow users to send multiple images/videos
at once. This change includes:

- New in-app media picker flow.
- Ability to caption images and videos.
- Image editing tools are made more prominent in the flow.
- Some fixes to the image editing tools.
2019-01-14 11:25:06 -08:00

23 lines
481 B
Java

package org.thoughtcrime.securesms.mediasend;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;
/**
* A page that sits in the {@link MediaSendFragmentPagerAdapter}.
*/
public interface MediaSendPageFragment {
@NonNull Uri getUri();
void setUri(@NonNull Uri uri);
@Nullable View getPlaybackControls();
@Nullable Object saveState();
void restoreState(@NonNull Object state);
}