in my kotlin app i want to be able to display images in a recyclerview. so, i already…
Jump to turn (9)
- 1in my kotlin app i want to be able to display images in a recyclerview. so, i al
- 2so, all of those should go into a class, which is the adapter?
- 3so what is the myviewholder?
- 4now, if i want to add a listener to every picture, so that on clicking it, it sh
- 5i get an error when modifying myviewholder, onclick is not defined
- 6is there no other way to tackle this problem?
- 7how can i get the image in my new activity?
- 8now, i want to add a context menu so that when i press an image, i get an option
- 9so, how should i track selectedposition?
- User
in my kotlin app i want to be able to display images in a recyclerview. so, i already have a prepared list of image locations - locations of the file in the internal storage. i want to get the image at the specified location, and insert it into my recyclerview. i want to do it without using any external libraries
- Assistant