remove the redundant onCreate function of SimpleActivity

This commit is contained in:
tibbi 2017-04-01 18:14:28 +02:00
parent aefa630c1a
commit bc54d58dbe

View file

@ -1,6 +1,5 @@
package com.simplemobiletools.gallery.activities package com.simplemobiletools.gallery.activities
import android.os.Bundle
import android.support.v4.util.Pair import android.support.v4.util.Pair
import com.simplemobiletools.commons.activities.BaseSimpleActivity import com.simplemobiletools.commons.activities.BaseSimpleActivity
import com.simplemobiletools.commons.asynctasks.CopyMoveTask import com.simplemobiletools.commons.asynctasks.CopyMoveTask
@ -14,9 +13,6 @@ import java.util.*
open class SimpleActivity : BaseSimpleActivity() { open class SimpleActivity : BaseSimpleActivity() {
var copyMoveCallback: (() -> Unit)? = null var copyMoveCallback: (() -> Unit)? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
}
fun copyMoveFilesTo(files: ArrayList<File>, isCopyOperation: Boolean, callback: () -> Unit) { fun copyMoveFilesTo(files: ArrayList<File>, isCopyOperation: Boolean, callback: () -> Unit) {
if (files.isEmpty()) { if (files.isEmpty()) {