I\'m always using onclick() event in most of my projects. But, I read about OnClickListener(). Can anyone tell what\'s the difference between these
onclick()
OnClickListener()
We use OnClick in xml and OnClickListner in java code . Both are use to perform a function.
OnClick
OnClickListner
java