MediaFacer
MediaFacer copied to clipboard
Video sorting
How can I apply my custom video sorting:
public ArrayList<videoContent> getAllVideos ( Context context )
{
final ArrayList<videoContent> videos = new ArrayList<>();
videos.add(new videoContent());
videos.addAll ( MediaFacer.withVideoContex ( context ).getAllVideoContent ( VideoGet.externalContentUri ) );
final ArrayList<String> folders = new ArrayList<>();
for (int i = 0 ; i < videos.size(); i++)
{
folders.add(videos.get(i).getVideoName());
}
return videos;
}