Standalone item group

This commit is contained in:
M66B 2022-01-02 16:20:50 +01:00
parent cc1fbf82be
commit d97f69e72b
5 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'de.undercouch.download'
def getVersionCode = { -> return 1801 }
def getRevision = { -> "c" }
def getRevision = { -> "f" }
def getReleaseName = { -> return "Draconyx" }
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);