Rename values
package to enums
This commit is contained in:
parent
6662da797f
commit
862a8faa15
8 changed files with 14 additions and 14 deletions
|
@ -4,9 +4,9 @@ import android.hardware.usb.UsbDevice
|
||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
import com.github.mjdev.libaums.UsbMassStorageDevice
|
import com.github.mjdev.libaums.UsbMassStorageDevice
|
||||||
import eu.depau.etchdroid.abc.WizardFragment
|
import eu.depau.etchdroid.abc.WizardFragment
|
||||||
import eu.depau.etchdroid.values.FlashMethod
|
import eu.depau.etchdroid.enums.FlashMethod
|
||||||
import eu.depau.etchdroid.values.ImageLocation
|
import eu.depau.etchdroid.enums.ImageLocation
|
||||||
import eu.depau.etchdroid.values.WizardStep
|
import eu.depau.etchdroid.enums.WizardStep
|
||||||
|
|
||||||
object StateKeeper {
|
object StateKeeper {
|
||||||
var wizardStep: WizardStep = WizardStep.SELECT_FLASH_METHOD
|
var wizardStep: WizardStep = WizardStep.SELECT_FLASH_METHOD
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.depau.etchdroid.values
|
package eu.depau.etchdroid.enums
|
||||||
|
|
||||||
enum class FlashMethod {
|
enum class FlashMethod {
|
||||||
FLASH_API,
|
FLASH_API,
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.depau.etchdroid.values
|
package eu.depau.etchdroid.enums
|
||||||
|
|
||||||
enum class ImageLocation {
|
enum class ImageLocation {
|
||||||
REMOTE,
|
REMOTE,
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.depau.etchdroid.values
|
package eu.depau.etchdroid.enums
|
||||||
|
|
||||||
enum class WizardStep {
|
enum class WizardStep {
|
||||||
SELECT_FLASH_METHOD,
|
SELECT_FLASH_METHOD,
|
|
@ -10,8 +10,8 @@ import eu.depau.etchdroid.StateKeeper
|
||||||
import eu.depau.etchdroid.abc.WizardFragment
|
import eu.depau.etchdroid.abc.WizardFragment
|
||||||
import eu.depau.etchdroid.services.UsbAPIWriteService
|
import eu.depau.etchdroid.services.UsbAPIWriteService
|
||||||
import eu.depau.etchdroid.kotlin_exts.*
|
import eu.depau.etchdroid.kotlin_exts.*
|
||||||
import eu.depau.etchdroid.values.FlashMethod
|
import eu.depau.etchdroid.enums.FlashMethod
|
||||||
import eu.depau.etchdroid.values.WizardStep
|
import eu.depau.etchdroid.enums.WizardStep
|
||||||
import kotlinx.android.synthetic.main.fragment_confirminfo.view.*
|
import kotlinx.android.synthetic.main.fragment_confirminfo.view.*
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,8 @@ import eu.depau.etchdroid.StateKeeper
|
||||||
import eu.depau.etchdroid.abc.WizardActivity
|
import eu.depau.etchdroid.abc.WizardActivity
|
||||||
import eu.depau.etchdroid.abc.WizardFragment
|
import eu.depau.etchdroid.abc.WizardFragment
|
||||||
import eu.depau.etchdroid.kotlin_exts.snackbar
|
import eu.depau.etchdroid.kotlin_exts.snackbar
|
||||||
import eu.depau.etchdroid.values.FlashMethod
|
import eu.depau.etchdroid.enums.FlashMethod
|
||||||
import eu.depau.etchdroid.values.WizardStep
|
import eu.depau.etchdroid.enums.WizardStep
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A placeholder fragment containing a simple view.
|
* A placeholder fragment containing a simple view.
|
||||||
|
|
|
@ -20,9 +20,9 @@ import eu.depau.etchdroid.abc.WizardActivity
|
||||||
import eu.depau.etchdroid.abc.WizardFragment
|
import eu.depau.etchdroid.abc.WizardFragment
|
||||||
import eu.depau.etchdroid.kotlin_exts.getFileName
|
import eu.depau.etchdroid.kotlin_exts.getFileName
|
||||||
import eu.depau.etchdroid.kotlin_exts.snackbar
|
import eu.depau.etchdroid.kotlin_exts.snackbar
|
||||||
import eu.depau.etchdroid.values.FlashMethod
|
import eu.depau.etchdroid.enums.FlashMethod
|
||||||
import eu.depau.etchdroid.values.ImageLocation
|
import eu.depau.etchdroid.enums.ImageLocation
|
||||||
import eu.depau.etchdroid.values.WizardStep
|
import eu.depau.etchdroid.enums.WizardStep
|
||||||
import kotlinx.android.synthetic.main.activity_main.*
|
import kotlinx.android.synthetic.main.activity_main.*
|
||||||
import kotlinx.android.synthetic.main.fragment_select_location.*
|
import kotlinx.android.synthetic.main.fragment_select_location.*
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
|
@ -18,7 +18,7 @@ import eu.depau.etchdroid.activities.MainActivity
|
||||||
import eu.depau.etchdroid.adapters.UsbDrivesRecyclerViewAdapter
|
import eu.depau.etchdroid.adapters.UsbDrivesRecyclerViewAdapter
|
||||||
import eu.depau.etchdroid.kotlin_exts.name
|
import eu.depau.etchdroid.kotlin_exts.name
|
||||||
import eu.depau.etchdroid.kotlin_exts.snackbar
|
import eu.depau.etchdroid.kotlin_exts.snackbar
|
||||||
import eu.depau.etchdroid.values.WizardStep
|
import eu.depau.etchdroid.enums.WizardStep
|
||||||
import kotlinx.android.synthetic.main.activity_main.*
|
import kotlinx.android.synthetic.main.activity_main.*
|
||||||
import kotlinx.android.synthetic.main.fragment_select_usb_drive.view.*
|
import kotlinx.android.synthetic.main.fragment_select_usb_drive.view.*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue