forked from eden-emu/eden
fix: formatting in DriverGroupAdapter.kt and unused iimport
This commit is contained in:
parent
0dda4fd3ce
commit
5008b23062
1 changed files with 4 additions and 3 deletions
|
@ -13,7 +13,6 @@ import org.yuzu.yuzu_emu.databinding.ItemDriverGroupBinding
|
||||||
import org.yuzu.yuzu_emu.fragments.DriverFetcherFragment.DriverGroup
|
import org.yuzu.yuzu_emu.fragments.DriverFetcherFragment.DriverGroup
|
||||||
import androidx.core.view.isVisible
|
import androidx.core.view.isVisible
|
||||||
import androidx.fragment.app.FragmentActivity
|
import androidx.fragment.app.FragmentActivity
|
||||||
import androidx.transition.AutoTransition
|
|
||||||
import androidx.transition.ChangeBounds
|
import androidx.transition.ChangeBounds
|
||||||
import androidx.transition.Fade
|
import androidx.transition.Fade
|
||||||
import androidx.transition.TransitionManager
|
import androidx.transition.TransitionManager
|
||||||
|
@ -89,7 +88,9 @@ class DriverGroupAdapter(
|
||||||
|
|
||||||
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): DriverGroupViewHolder {
|
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): DriverGroupViewHolder {
|
||||||
val binding = ItemDriverGroupBinding.inflate(
|
val binding = ItemDriverGroupBinding.inflate(
|
||||||
LayoutInflater.from(parent.context), parent, false
|
LayoutInflater.from(parent.context),
|
||||||
|
parent,
|
||||||
|
false
|
||||||
)
|
)
|
||||||
return DriverGroupViewHolder(binding)
|
return DriverGroupViewHolder(binding)
|
||||||
}
|
}
|
||||||
|
@ -105,4 +106,4 @@ class DriverGroupAdapter(
|
||||||
driverGroups = newDriverGroups
|
driverGroups = newDriverGroups
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue