You could use a list of maps. Something like (off the top of my head, not tested, so might not be 100% correct):
B4X:
Private lstRecs as List
Private recMap as Map
lstRecs.Initialize
'Add Items to the list
For Each Row() As String In su.LoadCSV (File.DirAssets, "myfile.txt",",")
recMap.Initialize
recMap.Put(Row(0), Row(1))
lstRecs.Add(recMap)
Next
'Get items from the list
For i = 0 to lstRecs.Size - 1
Private m as Map = lstRecs.Get(i)
Log(m.GetKeyAt(0))
Log(m.GetValueAt(0))
Next