Formatting
This commit is contained in:
@@ -12,7 +12,7 @@ import eu.davidea.flexibleadapter.items.AbstractFlexibleItem
|
||||
class DownloadAdapter(controller: DownloadController) : FlexibleAdapter<AbstractFlexibleItem<*>>(
|
||||
null,
|
||||
controller,
|
||||
true
|
||||
true,
|
||||
) {
|
||||
|
||||
/**
|
||||
|
||||
@@ -312,7 +312,7 @@ class DownloadController :
|
||||
R.string.action_pause
|
||||
} else {
|
||||
R.string.action_resume
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
setIconResource(
|
||||
@@ -320,7 +320,7 @@ class DownloadController :
|
||||
R.drawable.ic_pause_24dp
|
||||
} else {
|
||||
R.drawable.ic_play_arrow_24dp
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ class DownloadHolder(private val view: View, val adapter: DownloadAdapter) :
|
||||
},
|
||||
onMenuItemClick = {
|
||||
adapter.downloadItemListener.onMenuItemClick(bindingAdapterPosition, this)
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user