feat: boxPickingPrepared refs #7855

This commit is contained in:
Sergio De la torre 2024-09-04 13:21:42 +02:00
parent 48a88985ad
commit 8052477b7f
3 changed files with 11 additions and 5 deletions

View File

@ -74,7 +74,7 @@ class PasillerosAdapter (
fun bind(item: PasillerosItemVO) { fun bind(item: PasillerosItemVO) {
binding.setVariable(BR.item,item) binding.setVariable(BR.item,item)
binding.setVariable(BR.title, context?.getString(item.titleToShow)) binding.setVariable(BR.title, item.title)
if (isMenuInit) if (isMenuInit)

View File

@ -105,10 +105,8 @@ class PasilleroFragment(
getString(R.string.titlePhotos) -> { getString(R.string.titlePhotos) -> {
viewModel.inititializeDefaultDataInit( viewModel.inititializeDefaultDataInit(
PasillerosItemVO( PasillerosItemVO(
6,
R.drawable.photo_camera, R.drawable.photo_camera,
requireContext().getString(R.string.titlePhotos), requireContext().getString(R.string.titlePhotos),
R.string.titlePhotos,
requireContext().getString(R.string.titlePhotos) requireContext().getString(R.string.titlePhotos)
) )
) )
@ -117,10 +115,8 @@ class PasilleroFragment(
getString(R.string.titlePickers) -> { getString(R.string.titlePickers) -> {
viewModel.inititializeDefaultDataInit( viewModel.inititializeDefaultDataInit(
PasillerosItemVO( PasillerosItemVO(
7,
R.drawable.ic_picker_ui, R.drawable.ic_picker_ui,
requireContext().getString(R.string.titlePickers), requireContext().getString(R.string.titlePickers),
R.string.titlePickers,
requireContext().getString( requireContext().getString(
R.string.titlePickersDescrip R.string.titlePickersDescrip
) )

View File

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorPrimary">
<path
android:fillColor="@android:color/white"
android:pathData="M240,840Q180,840 144.5,793.5Q109,747 124,690L196,418Q163,397 141.5,361Q120,325 120,280Q120,214 167,167Q214,120 280,120L600,120Q645,120 668,158Q691,196 671,236L591,396Q580,416 561.5,428Q543,440 520,440L439,440L428,480L440,480Q457,480 468.5,491.5Q480,503 480,520L480,600Q480,617 468.5,628.5Q457,640 440,640L386,640L356,752Q345,791 313,815.5Q281,840 240,840ZM240,760Q254,760 264,752Q274,744 278,731L356,440L273,440L201,710Q196,729 208,744.5Q220,760 240,760ZM280,360L520,360Q520,360 520,360Q520,360 520,360L600,200Q600,200 600,200Q600,200 600,200L280,200Q247,200 223.5,223.5Q200,247 200,280Q200,313 223.5,336.5Q247,360 280,360ZM760,200L735,146L880,80L904,135L760,200ZM880,480L735,415L760,360L904,426L880,480ZM760,310L760,250L920,250L920,310L760,310ZM400,280Q400,280 400,280Q400,280 400,280Q400,280 400,280Q400,280 400,280L400,280Q400,280 400,280Q400,280 400,280L400,280Q400,280 400,280Q400,280 400,280ZM315,440Q315,440 315,440Q315,440 315,440L315,440L315,440L315,440Q315,440 315,440Q315,440 315,440Z"/>
</vector>