How To Compare String Values Of Charsequence[]?
I have the following CharSequence defined: final CharSequence[] videoQualities = {'any', 'medium', 'high', 'hd'}; I am getting two string values: availableQuality and requestedQua
Solution 1:
Try using an ArrayList instead of CharSequence[]. You can then use ArrayList.indexOf() to return a numeric index that you can use to compare position in the ArrayList.
Post a Comment for "How To Compare String Values Of Charsequence[]?"