Python Typecasting in a list

I have a list of mixed datatypes ( strings and objects): list=[‘Buffet’, ‘Buffet’, ‘Buffet’, ‘Buffet’, ‘A la Carte’, ‘A la Carte’, ‘Buffet’, ‘Buffet’, ‘Buffet’, ‘A la Carte’, ‘A la Carte’, array([‘A la Carte’, ‘Buffet’], dtype=object), ‘A la Carte’, ‘Buffet’, ‘Buffet’, …] I want to replace this object type array item with just another string, for…

Details

autocompletetextview suggestion does not appear when rewriting

I am currently learning Android programming and currently trying to make autocompletetextview by following the tutorial from the following link https://medium.com/@droidbyme/autocomplete-textview-in-android-a1bf5fc112f6 on this link I managed to bring up suggestions from the retrofit response but when I rewrote the suggestion it didn’t appear. this is from my activity var adapter = SuggestionAdapter([email protected]_Activity, R.layout.custom_row, kecamatanModel.getProducts()) autoCompleteTextView.setAdapter(adapter)…

Details