Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

hellow world

 val inflater = context.layoutInflater
        val rowView = inflater.inflate(R.layout.custom_list, null, true)

        val titleText = rowView.findViewById(R.id.title) as TextView
        val imageView = rowView.findViewById(R.id.icon) as ImageView
        val subtitleText = rowView.findViewById(R.id.description) as TextView

        titleText.text = title[position]
        imageView.setImageResource(image[position])
        subtitleText.text = des[position]

        return rowView
Source by colab.research.google.com #
 
PREVIOUS NEXT
Tagged: #hellow #world
ADD COMMENT
Topic
Name
2+1 =