pull/1319/head
gedoor 3 years ago
parent e899d70000
commit 5cfad9b229
  1. 13
      app/src/main/java/io/legado/app/ui/book/group/GroupSelectDialog.kt

@ -7,7 +7,6 @@ import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.widget.Toolbar
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.viewModels
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.LinearLayoutManager
@ -42,18 +41,6 @@ class GroupSelectDialog() : BaseDialogFragment(), Toolbar.OnMenuItemClickListene
}
}
companion object {
const val tag = "groupSelectDialog"
fun show(manager: FragmentManager, groupId: Long, requestCode: Int = -1) {
manager.showDialog<GroupSelectDialog> {
putLong("groupId", groupId)
putInt("requestCode", requestCode)
}
}
}
private val binding by viewBinding(DialogBookGroupPickerBinding::bind)
private var requestCode: Int = -1
private val viewModel: GroupViewModel by viewModels()

Loading…
Cancel
Save