atomic function in IndicatorListAdpter and ListCompareAdapter