Updated adapter to handle indicators of text type