If just a friend, it's best to do AA, it's the best way, I pay for what I eat. No trouble, hassling, everyone happy.
For GF, it depends on the situation. I usually pay but if she wants to pay, it's fine with me. One thing I don't do is AA, not when it comes to GF.