Yes, because gardening was exchanged for something of value—a feeling of satisfaction
Exchange is the trade of things of value between buyer and seller so that each benefits from the exchange. An exchange did occur: David exchanges his gardening for a feeling of satisfaction; the community benefits.