I have to prove that if every projective $A$ module is free, then the only idempotents of $A$ are $0$ and $1$.
I know that $A$ contains an idempotent implies $A \cong G \times H$, where neither $G$ nor $H$ are zero, but i can’t do anything after that.