MediaFacer icon indicating copy to clipboard operation
MediaFacer copied to clipboard

Video sorting

Open Allosh87 opened this issue 3 years ago • 0 comments

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;
  }

Allosh87 avatar May 15 '21 15:05 Allosh87