mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Standalone item group
This commit is contained in:
@@ -192,7 +192,7 @@ public class FragmentAccounts extends FragmentBase {
|
||||
return null;
|
||||
}
|
||||
|
||||
View header = inflater.inflate(R.layout.item_group, parent, false);
|
||||
View header = inflater.inflate(R.layout.item_group, null, false);
|
||||
TextView tvCategory = header.findViewById(R.id.tvCategory);
|
||||
TextView tvDate = header.findViewById(R.id.tvDate);
|
||||
|
||||
|
||||
@@ -264,7 +264,7 @@ public class FragmentFolders extends FragmentBase {
|
||||
return null;
|
||||
}
|
||||
|
||||
View header = inflater.inflate(R.layout.item_group, parent, false);
|
||||
View header = inflater.inflate(R.layout.item_group, null, false);
|
||||
TextView tvCategory = header.findViewById(R.id.tvCategory);
|
||||
TextView tvDate = header.findViewById(R.id.tvDate);
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ public class FragmentIdentities extends FragmentBase {
|
||||
return null;
|
||||
}
|
||||
|
||||
View header = inflater.inflate(R.layout.item_group, parent, false);
|
||||
View header = inflater.inflate(R.layout.item_group, null, false);
|
||||
TextView tvCategory = header.findViewById(R.id.tvCategory);
|
||||
TextView tvDate = header.findViewById(R.id.tvDate);
|
||||
|
||||
|
||||
@@ -771,7 +771,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
if (!ch && !dh)
|
||||
return null;
|
||||
|
||||
View header = inflater.inflate(R.layout.item_group, parent, false);
|
||||
View header = inflater.inflate(R.layout.item_group, null, false);
|
||||
TextView tvCategory = header.findViewById(R.id.tvCategory);
|
||||
TextView tvDate = header.findViewById(R.id.tvDate);
|
||||
tvCategory.setVisibility(ch ? View.VISIBLE : View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user