i didn`t want to get every property so i call vcard into list that return me the list of card properties but i working fine debug mode but on Release Version giving empty list :(
mycode
val list: List = vCard.toList()
Log.d("TAG", "onCreate42: "+list)
for (i in list.indices) {
val tagkey = list[i].toString().split("[")[0].replace("ezvcard.property.", "")
if (!stringlist.contains(tagkey)) {
stringlist.add(tagkey.trim())
val mvalue = getvalue(vCard, firstLetterSmall(tagkey))
// Log.d("TAG", "onCreate:$mvalue+")
if (mvalue.trim() == "" || mvalue.trim() == "null") {
i didn`t want to get every property so i call vcard into list that return me the list of card properties but i working fine debug mode but on Release Version giving empty list :( mycode
val list: List = vCard.toList()
Log.d("TAG", "onCreate42: "+list)
for (i in list.indices) {
val tagkey = list[i].toString().split("[")[0].replace("ezvcard.property.", "")
if (!stringlist.contains(tagkey)) {
stringlist.add(tagkey.trim())
val mvalue = getvalue(vCard, firstLetterSmall(tagkey))
// Log.d("TAG", "onCreate:$mvalue+")
if (mvalue.trim() == "" || mvalue.trim() == "null") {