Android : can I resue the KeyEvent passed to InputConnection.sendKeyEvent?

on Friday, August 8, 2014


My app will frequently call InputConnecton.sendKeyEvent with new KeyEvent objects. But as we know we should always reuse objects where possible. So can I pool the KeyEvent objects ?


0 comments:

Post a Comment