Prince William's advisor has praised him for his commitment and practical solutions to tackling homelessness.