mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-02-01 01:46:44 +01:00
some styling
This commit is contained in:
parent
3eb6f8a804
commit
178d453dd6
@ -15,6 +15,7 @@ class AddAppDialog() : DialogFragment() {
|
||||
companion object {
|
||||
lateinit var launchers: ArrayList<AppLauncher>
|
||||
var callback: AddLaunchersInterface? = null
|
||||
|
||||
fun newInstance(cb: AddLaunchersInterface, appLaunchers: ArrayList<AppLauncher>): AddAppDialog {
|
||||
callback = cb
|
||||
launchers = appLaunchers
|
||||
@ -27,10 +28,7 @@ class AddAppDialog() : DialogFragment() {
|
||||
builder.setTitle(R.string.add_apps)
|
||||
|
||||
val recyclerView = View.inflate(activity, R.layout.launcher_picker, null)
|
||||
recyclerView.launchers_holder.adapter = RecyclerAdapter(activity, true, launchers) {
|
||||
|
||||
}
|
||||
|
||||
recyclerView.launchers_holder.adapter = RecyclerAdapter(activity, true, launchers) { }
|
||||
builder.setView(recyclerView)
|
||||
|
||||
builder.setPositiveButton(android.R.string.ok, { dialogInterface, i ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user