Get a firestore document id from autocompletetextview onItemClickListener items
问题 My problem is very simple and clear. I already did fetch data from the firestore cloud-firestore database, it is being suggested in AutoCompleteTextView very well, and clickable. However, I want to get the firebase cloud-firestore document id of the selected item. Tested with toasting it private var autoComplete: ArrayAdapter<String>? = null private var itemId: String? = null override fun onCreate(savedInstanceState: Bundle?) { readData(object: MyCallback { override fun onCallback(value: