... updated preferences. Lines 140 to 143 are highlighted. Line 144. Blank. Line 145, indented twice. forward slash forward slash if tag is new comma add to and sort tags comma then display updated list. Line 146, indented twice. if left parenthesis exclamation point tags period contains left parenthesis tag right parenthesis right parenthesis left brace. Line 147, indented 3 times. tags period add left parenthesis tag right parenthesis semicolon forward slash forward slash add new tag. Line 148, indented 3 times. Collections period sort left parenthesis tags comma String period CASE underscore INSENSITIVE underscore ORDER right parenthesis semicolon. Line 149, indented 3 times. adapter period notify Data Set Changed left parenthesis right paren

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.