add longClick method for view

add longClick method for view