Using Calder'{o}n's reproducing formulas and almost orthogonal estimates, the $T1$ theorem for the inhomogeneous Triebel--Lizorkin and Besov spaces on RD-spaces is obtained. As an application, new characterizations for these spaces with ``half" the usual conditions of the approximate to the identity are presented.