Over the course of the next 40 years, Gandhi and his movement were regularly denounced in the media, just as non-violent anarchists are also always denounced in the media (and I might remark here that while not an anarchist himself, Gandhi was strongly influenced by anarchists like Kropotkin and Tolstoy), as a mere front for more violent, terroristic elements, with whom he was said to be secretly collaborating. He was regularly challenged to prove his non-violent credentials by assisting the authorities in suppressing such elements. Here Gandhi remained resolute. It is always morally superior, he insisted, to oppose injustice through non-violent means than through violent means. However, to oppose injustice through violent means is still morally superior to not doing anything to oppose injustice at all.
And Gandhi was talking about people who were blowing up trains, or assassinating government officials. Not damaging windows or spray-painting rude things about the police.