Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video sorting #14

Open
Allosh87 opened this issue May 15, 2021 · 0 comments
Open

Video sorting #14

Allosh87 opened this issue May 15, 2021 · 0 comments

Comments

@Allosh87
Copy link

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;
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant