You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it is not work what you have tall implement either i am not clickable of my view.
public class BookingDetailActivity extends AppCompatActivity implements RecyclerTouchListener.RecyclerTouchListenerHelper,AddPackageContract.View {
@Override
protected void onPause() {
super.onPause();
if (recyclerViewAddItem != null)
recyclerViewAddItem.removeOnItemTouchListener(onTouchListener);
}
// for hide view of recycler when user touch out side of recyclerView.
@Override
public void setOnActivityTouchListener(OnActivityTouchListener listener) {
this.touchListener = listener;
}
@Override
public boolean dispatchTouchEvent(MotionEvent ev) {
if (touchListener != null) touchListener.getTouchCoordinates(ev);
return super.dispatchTouchEvent(ev);
} }
The text was updated successfully, but these errors were encountered:
it is not work what you have tall implement either i am not clickable of my view.
public class BookingDetailActivity extends AppCompatActivity implements RecyclerTouchListener.RecyclerTouchListenerHelper,AddPackageContract.View {
onTouchListener = new RecyclerTouchListener(this, recyclerViewAddItem);
onTouchListener.setClickable(new RecyclerTouchListener.OnRowClickListener() {
@OverRide
public void onRowClicked(int position) {
// ShowLogToast.ShowToast(getApplicationContext(), "Row " + (position + 1) + " clicked!", 1);
}
@OverRide
protected void onResume() {
super.onResume();
if (recyclerViewAddItem != null)
recyclerViewAddItem.addOnItemTouchListener(onTouchListener);
}
The text was updated successfully, but these errors were encountered: