File tree Expand file tree Collapse file tree
claimManagement/src/main/java/org/openimis/imisclaims Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656
5757import java .net .HttpURLConnection ;
5858import java .util .ArrayList ;
59+ import java .util .Collections ;
5960import java .util .Date ;
6061import java .util .HashMap ;
6162import java .util .List ;
@@ -121,6 +122,8 @@ protected void onCreate(Bundle savedInstanceState) {
121122 llPolygamousSubFamilies = findViewById (R .id .llPolygamousSubFamilies );
122123 ll = findViewById (R .id .llListView );
123124
125+ lv .setNestedScrollingEnabled (true );
126+
124127 iv .setOnClickListener (v -> {
125128 if (ZoomOut ) {
126129 iv .setLayoutParams (new LinearLayout .LayoutParams (orgWidth , orgHeight ));
@@ -596,6 +599,7 @@ private void renderInsureeBasicInfo(Insuree insuree) {
596599 }
597600
598601 ArrayList <Map <String , String >> PolicyList = new ArrayList <>();
602+ Collections .reverse (insuree .getPolicies ());
599603 for (Policy policy : insuree .getPolicies ()) {
600604 HashMap <String , String > policyMap = new HashMap <>();
601605 double iDedType = policy .getDeductibleType () != null ? policy .getDeductibleType () : 0 ;
You can’t perform that action at this time.
0 commit comments