Open kashifandroiddev opened 8 years ago
@kashifandroiddev If you look in the source you will found:
if (childView == null) {
throw new IllegalStateException("MaterialRippleLayout must have a child view to handle clicks");
}
childView.setOnClickListener(onClickListener);
So, your case id should be the id of the child, hope it helps.
how can i implement setonclick listener in normal way
mMrOflineSync.setOnClickListener(this);
then handle like
@Override public void onClick(View v) { switch (v.getId()) { case R.id.materiallayout:
i did test it that way but not working only works when i do it that way
thanks for your help