Skip to content

Instantly share code, notes, and snippets.

@oluwabajio
Created September 13, 2022 17:26
Show Gist options
  • Save oluwabajio/83210fea969791a17be8523678ffcdb9 to your computer and use it in GitHub Desktop.
Save oluwabajio/83210fea969791a17be8523678ffcdb9 to your computer and use it in GitHub Desktop.
videoName = (DocumentFile.fromSingleUri(applicationContext, videoUri)?.name ?: "").split('.')[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment