Hi,
Both. The developer has to pay Google Play for the app placement, and individual sales. No real difference if you were putting an item on ebay for sale, ebay collects for the placement of the ad, and then profits a percentage of the final sale.
Hope this helps!
Chris