I take care not to allow others' negativity affect me. It is not very easy. every one has plus and minus points. even some whom you consider your ideal may have some negativity. This is difficult to avoid.
I try my level best not to get affected by other people's negativity but sometimes after spending certain amount of time with them I do feel that I get affected in some way or the other even to the minimal amount...