Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed comments
  • Loading branch information
dodgex committed Sep 25, 2013
commit 4b5f3c4a5950f076991e70c9f9d8fc6e4da101ba
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ protected void processParameters(JMethod listenerMethod, JInvocation call, List<
String firstType = first.asType().toString();
if (firstType.equals(CanonicalNameConstants.MOTION_EVENT)) {
call.arg(eventParam);
} else { // if (first.equals(CanonicalNameConstants.VIEW))
} else {
call.arg(viewParam);
}
if (hasItemParameter) {
VariableElement second = parameters.get(1);
String secondType = second.asType().toString();
if (secondType.equals(CanonicalNameConstants.MOTION_EVENT)) {
call.arg(eventParam);
} else { // if (first.equals(CanonicalNameConstants.MOTION_EVENT))
} else {
call.arg(viewParam);
}
}
Expand Down