I am using android-uitableview
And I have this problem:
When I use this code:
LayoutInflater mInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
RelativeLayout view = (RelativeLayout) mInflater.inflate(R.layout.custom_view, null);
ViewItem viewItem = new ViewItem(view);
getUITableView().addViewItem(viewItem);
When I click this button, I can’t go to onClick(int index) <= the problem
But when I use getUITableView().addBasicItem , I can handle the click.
How can I handle when I click the custom view ?
Regards
I think they have not implement
onClickforaddViewItembut they do foraddBasicItem.Source Code
You can call
getUITableView().setClickListener(...)