Search in sources :

Example 6 with VoiceNoteMediaController

use of org.thoughtcrime.securesms.components.voice.VoiceNoteMediaController in project Signal-Android by signalapp.

the class MediaOverviewPageFragment method onActivityCreated.

@Override
public void onActivityCreated(@Nullable Bundle savedInstanceState) {
    super.onActivityCreated(savedInstanceState);
    voiceNoteMediaController = new VoiceNoteMediaController((AppCompatActivity) requireActivity());
}
Also used : VoiceNoteMediaController(org.thoughtcrime.securesms.components.voice.VoiceNoteMediaController) AppCompatActivity(androidx.appcompat.app.AppCompatActivity)

Aggregations

VoiceNoteMediaController (org.thoughtcrime.securesms.components.voice.VoiceNoteMediaController)6 OnBackPressedCallback (androidx.activity.OnBackPressedCallback)2 AppCompatActivity (androidx.appcompat.app.AppCompatActivity)2 AtomicBoolean (java.util.concurrent.atomic.AtomicBoolean)2 AsynchronousCallback (org.thoughtcrime.securesms.util.AsynchronousCallback)2 FullscreenHelper (org.thoughtcrime.securesms.util.FullscreenHelper)2 AssertedSuccessListener (org.thoughtcrime.securesms.util.concurrent.AssertedSuccessListener)2