-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move FilePicker, replace Glide with Coil (#39)
- Loading branch information
Showing
68 changed files
with
3,597 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
components/src/main/java/dev/arkbuilders/components/filepicker/ArkFilePickerConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package dev.arkbuilders.components.filepicker | ||
|
||
import androidx.annotation.PluralsRes | ||
import androidx.annotation.StringRes | ||
import androidx.annotation.StyleRes | ||
import dev.arkbuilders.components.R | ||
import java.nio.file.Path | ||
|
||
class ArkFilePickerConfig( | ||
@StringRes | ||
val titleStringId: Int = R.string.ark_file_picker_pick_title, | ||
@StringRes | ||
val pickButtonStringId: Int = R.string.ark_file_picker_pick, | ||
@StringRes | ||
val cancelButtonStringId: Int = R.string.ark_file_picker_cancel, | ||
@StringRes | ||
val internalStorageStringId: Int = R.string.ark_file_picker_internal_storage, | ||
@StringRes | ||
val accessDeniedStringId: Int = R.string.ark_file_picker_access_denied, | ||
@PluralsRes | ||
val itemsPluralId: Int = R.plurals.ark_file_picker_items, | ||
@StyleRes | ||
val themeId: Int = com.google.android.material.R.style.Theme_MaterialComponents_Light_Dialog, | ||
|
||
val showRoots: Boolean = false, | ||
val rootsFirstPage: Boolean = false, | ||
val initialPath: Path? = null, | ||
val mode: ArkFilePickerMode = ArkFilePickerMode.FOLDER, | ||
val pathPickedRequestKey: String? = null, | ||
) |
Oops, something went wrong.