~williamvds/taskwarrior-android

7032672b5d7f91e510eb684b8f839e6560c66738 — williamvds 5 years ago 68b8e62 master
Remove UUIDBundleAdapter
1 files changed, 0 insertions(+), 16 deletions(-)

D app/src/main/java/kvj/taskw/data/UUIDBundleAdapter.kt
D app/src/main/java/kvj/taskw/data/UUIDBundleAdapter.kt => app/src/main/java/kvj/taskw/data/UUIDBundleAdapter.kt +0 -16
@@ 1,16 0,0 @@
package kvj.taskw.data

import java.util.UUID

import android.os.Bundle

import org.kvj.bravo7.form.BundleAdapter

class UUIDBundleAdapter : BundleAdapter<UUID>() {
    override fun set(bundle: Bundle?, name: String?, value: UUID?) {
        bundle?.putSerializable(name, value)
    }

    override fun get(bundle: Bundle?, name: String?, def: UUID?): UUID?
        = bundle?.getSerializable(name) as UUID?
}