|
|
@@ -4,6 +4,7 @@ import android.os.Bundle;
|
|
|
import android.support.annotation.NonNull;
|
|
|
import android.support.annotation.Nullable;
|
|
|
import android.support.v4.app.Fragment;
|
|
|
+import android.util.Log;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
@@ -38,9 +39,22 @@ public class FAQFragment extends Fragment {
|
|
|
expandableListViewFaq = (ExpandableListView) view.findViewById(R.id.expandable_list_view_faq);
|
|
|
FAQExpandableListViewAdapter adapter = new FAQExpandableListViewAdapter(getActivity(), faqList);
|
|
|
expandableListViewFaq.setAdapter(adapter);
|
|
|
+ expandableListViewFaq.setOnGroupExpandListener(new ExpandableListView.OnGroupExpandListener() {
|
|
|
+ @Override
|
|
|
+ public void onGroupExpand(int i) {
|
|
|
+ Log.e("APP# FAQFragment | onGroupExpand", "|" + i);
|
|
|
+ expandableListViewFaq.setDividerHeight(0);
|
|
|
+ }
|
|
|
+ });
|
|
|
|
|
|
- return view;
|
|
|
+ expandableListViewFaq.setOnGroupCollapseListener(new ExpandableListView.OnGroupCollapseListener() {
|
|
|
+ @Override
|
|
|
+ public void onGroupCollapse(int i) {
|
|
|
+ expandableListViewFaq.setDividerHeight(30);
|
|
|
+ }
|
|
|
+ });
|
|
|
|
|
|
+ return view;
|
|
|
}
|
|
|
|
|
|
@Override
|