Rename values package to enums

This commit is contained in:
Davide Depau 2018-08-16 16:24:04 +02:00
parent 6662da797f
commit 862a8faa15
8 changed files with 14 additions and 14 deletions

View file

@ -4,9 +4,9 @@ import android.hardware.usb.UsbDevice
import android.net.Uri
import com.github.mjdev.libaums.UsbMassStorageDevice
import eu.depau.etchdroid.abc.WizardFragment
import eu.depau.etchdroid.values.FlashMethod
import eu.depau.etchdroid.values.ImageLocation
import eu.depau.etchdroid.values.WizardStep
import eu.depau.etchdroid.enums.FlashMethod
import eu.depau.etchdroid.enums.ImageLocation
import eu.depau.etchdroid.enums.WizardStep
object StateKeeper {
var wizardStep: WizardStep = WizardStep.SELECT_FLASH_METHOD

View file

@ -1,4 +1,4 @@
package eu.depau.etchdroid.values
package eu.depau.etchdroid.enums
enum class FlashMethod {
FLASH_API,

View file

@ -1,4 +1,4 @@
package eu.depau.etchdroid.values
package eu.depau.etchdroid.enums
enum class ImageLocation {
REMOTE,

View file

@ -1,4 +1,4 @@
package eu.depau.etchdroid.values
package eu.depau.etchdroid.enums
enum class WizardStep {
SELECT_FLASH_METHOD,

View file

@ -10,8 +10,8 @@ import eu.depau.etchdroid.StateKeeper
import eu.depau.etchdroid.abc.WizardFragment
import eu.depau.etchdroid.services.UsbAPIWriteService
import eu.depau.etchdroid.kotlin_exts.*
import eu.depau.etchdroid.values.FlashMethod
import eu.depau.etchdroid.values.WizardStep
import eu.depau.etchdroid.enums.FlashMethod
import eu.depau.etchdroid.enums.WizardStep
import kotlinx.android.synthetic.main.fragment_confirminfo.view.*
import java.io.IOException

View file

@ -9,8 +9,8 @@ import eu.depau.etchdroid.StateKeeper
import eu.depau.etchdroid.abc.WizardActivity
import eu.depau.etchdroid.abc.WizardFragment
import eu.depau.etchdroid.kotlin_exts.snackbar
import eu.depau.etchdroid.values.FlashMethod
import eu.depau.etchdroid.values.WizardStep
import eu.depau.etchdroid.enums.FlashMethod
import eu.depau.etchdroid.enums.WizardStep
/**
* A placeholder fragment containing a simple view.

View file

@ -20,9 +20,9 @@ import eu.depau.etchdroid.abc.WizardActivity
import eu.depau.etchdroid.abc.WizardFragment
import eu.depau.etchdroid.kotlin_exts.getFileName
import eu.depau.etchdroid.kotlin_exts.snackbar
import eu.depau.etchdroid.values.FlashMethod
import eu.depau.etchdroid.values.ImageLocation
import eu.depau.etchdroid.values.WizardStep
import eu.depau.etchdroid.enums.FlashMethod
import eu.depau.etchdroid.enums.ImageLocation
import eu.depau.etchdroid.enums.WizardStep
import kotlinx.android.synthetic.main.activity_main.*
import kotlinx.android.synthetic.main.fragment_select_location.*
import java.io.File

View file

@ -18,7 +18,7 @@ import eu.depau.etchdroid.activities.MainActivity
import eu.depau.etchdroid.adapters.UsbDrivesRecyclerViewAdapter
import eu.depau.etchdroid.kotlin_exts.name
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.fragment_select_usb_drive.view.*