adapter views optimization