gview: Added afterCreate method, triggered on init.