passing view object in getTickets() method