mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
merging 2 lines
This commit is contained in:
@@ -15,8 +15,7 @@ class CheckableColorAdapter(private val activity: Activity, private val colors:
|
||||
RecyclerView.Adapter<CheckableColorAdapter.CheckableColorViewHolder>() {
|
||||
|
||||
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): CheckableColorViewHolder {
|
||||
val itemView = LayoutInflater.from(activity)
|
||||
.inflate(R.layout.checkable_color_button, parent, false)
|
||||
val itemView = LayoutInflater.from(activity).inflate(R.layout.checkable_color_button, parent, false)
|
||||
return CheckableColorViewHolder(itemView)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user