I have an array of files contained in sdcard: I would like to show the element in ImageSwitcher, but could not find SetImageBitmap, but only SetImageResource, but I do not have them in the res folder. How can i do this?
use this code below instead of setImageBitmap. I think you have the files in the array.
imgSwitcher.setImageURI(Uri.fromFile(filename));
Source: https://habr.com/ru/post/897361/More articles:What is the best and easiest way to create a UITableView form? - iosHow can I put multiple elements in a JSON object using CoffeeScript? - jsonRail error: warning: MAJOR constant already initialized - ruby-on-railsAndroid: How to set ImageSwitcher image from bitmap? does setImageBitmap not exist? - androidWhat is a routing error and a rake route error? - ruby-on-railsHow to horizontally align IO << and >> flow operators in Vim? - iostreamHow to deploy a 64-bit version of a DLL on Azure, but use a 32-bit version on dev-boxes - 64bitAttempting to play multiple video files at once in Gstreamer - videoGoogle error plus one button - google-plus-oneIs time_t a time return () of a specific zone? - c ++All Articles