OSDN Git Service

ソースコード整理
authorMRSa <mrsa@myad.jp>
Wed, 7 Jul 2021 14:28:49 +0000 (23:28 +0900)
committerMRSa <mrsa@myad.jp>
Wed, 7 Jul 2021 14:28:49 +0000 (23:28 +0900)
app/src/main/java/jp/osdn/gokigen/gokigenassets/utils/imagefile/FileControl.kt

index 52155a4..d64fcf3 100644 (file)
@@ -19,7 +19,6 @@ import jp.osdn.gokigen.gokigenassets.liveview.storeimage.IStoreImage
 import jp.osdn.gokigen.gokigenassets.preference.PreferenceAccessWrapper
 import jp.osdn.gokigen.gokigenassets.scene.IVibrator
 
-
 class FileControl(private val context: FragmentActivity, private val storeImage : IStoreImage, private val vibrator : IVibrator) : View.OnClickListener, View.OnLongClickListener, IKeyDown
 {
     private val storeLocal = ImageStoreLocal(context)
@@ -135,13 +134,13 @@ class FileControl(private val context: FragmentActivity, private val storeImage
         return (false)
     }
 
-    companion object
+    override fun onLongClick(v: View?): Boolean
     {
-        private val TAG = FileControl::class.java.simpleName
+        return (false)
     }
 
-    override fun onLongClick(v: View?): Boolean
+    companion object
     {
-        return (false)
+        private val TAG = FileControl::class.java.simpleName
     }
 }