View.FindViewById(Resource.Id.status).Text = () View.FindViewById(Resource.Id.Orders).Text = ordersModels.Orders View.FindViewById(Resource.Id.custId).Text = () View.FindViewById(Resource.Id.agentId).Text = () View.FindViewById(Resource.Id.orderId).Text = () Public override View GetView(int position, View convertView, ViewGroup parent) Public SendOrderAdapter(Activity newactivity, List neworderModels) : base() SendOrderAdapter.cs public class SendOrderAdapter : BaseAdapter Public override bool IsChildSelectable(int groupPosition, int childPosition) Public override long GetGroupId(int groupPosition) Public override GetGroup(int groupPosition) Public override long GetChildId(int groupPosition, int childPosition) Public override GetChild(int groupPosition, int childPosition) Private void GetChildView(int groupPosition, int childPosition, out string OrderId, out string AgentId, out string CustId, out string Orders, out string status, out string Senddate) List res = list.FindAll((SendOrdersModel obj) => ().Equals(str)) Public override int GetChildrenCount(int groupPosition) GetChildView(groupPosition, childPosition, out OrderId, out AgentId, out CustId, out Orders, out status, out Senddate) String OrderId = "", AgentId = "", CustId = "", Orders = "", status = "", Senddate = "" Public override View GetChildView(int groupPosition, int childPosition, bool isLastChild, View convertView, ViewGroup parent) Header.FindViewById(Resource.Id.SendOrderHead).Text = ((char)(65 + groupPosition)).ToString() Public override View GetGroupView(int groupPosition, bool isExpanded, View convertView, ViewGroup parent) Public ExpandableSendOrderAdapter(Activity newactivity, List newList) : base() # ExpandableSendOrderAdapter.cs public class ExpandableSendOrderAdapter : BaseExpandableListAdapter
And I want to make an expandable list view which is the senddate table values is the head of the expandable list view and the order table values in the body values of the expandable listview, but the problem is, I don't know how to compare the two senddate values. When I click the button send the send date value insert into the order table and senddate table so in that method I have a two the same send date values in two different tables. The above list of data will be displayed in a form of RecyclerView with CardView list items.I create two tables order table and senddate table. That above MyData.java is been used just to store list of data in a form of arrays.