mAttributeList.get(position) is used 5 times here. Why not refactor it in a new var e.g. selectedAttribute?