Currently, we are using firebase-mlkit to do image labeling. I'd like to print out the images in recyclerview and the corresponding labels as a list when I don't know how many labels will be created in one image. I googled a lot, but I don't know how to do it. Crying.
Stackoverflow asks you to receive a view type according to the position and use a different view holder, but the label is flexible, so you don't know which position will have an image. What can I do... android firebase firebase-mlkit recyclerview
In that case, you can create a separate serializable data object and use it through reprocessing.There is a way to use ViewModel globally without having to turn it over to int. Bundle objects have a limitation on the size of data that can be contained, so if there is a lot of data, I don't recommend handing over the list itself to int.
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
578 Understanding How to Configure Google API Key
581 PHP ssh2_scp_send fails to send files as intended
611 GDB gets version error when attempting to debug with the Presense SDK (IDE)
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.