Populate Spinner from CSV File using Scanner
问题 Using Android (Eclipse) I am trying to read a .csv file and dynamically populate a Spinner using Scanner. Have tried many methods with the same result. Emulator shows Spinner but only the last comma and price are populated. Also need to store all three variables in array and retrive them when Spinner selection is made in order to populate EditText fields. Any assistance would be greatly appreciated... Data file records: 4,Aluminum Cans,.55 5,Vehicle with cat convertor,9.00 18,Brass ( Irony