Manchester City manager Pep Guardiola praised Ronaldinho for helping his former club Barcelona rebuild after the Brazilian announced his retirement from football.