mirror of https://github.com/M66B/FairEmail.git
Standalone item group
This commit is contained in:
parent
cc1fbf82be
commit
d97f69e72b
|
@ -4,7 +4,7 @@ apply plugin: 'kotlin-android'
|
||||||
apply plugin: 'de.undercouch.download'
|
apply plugin: 'de.undercouch.download'
|
||||||
|
|
||||||
def getVersionCode = { -> return 1801 }
|
def getVersionCode = { -> return 1801 }
|
||||||
def getRevision = { -> "c" }
|
def getRevision = { -> "f" }
|
||||||
def getReleaseName = { -> return "Draconyx" }
|
def getReleaseName = { -> return "Draconyx" }
|
||||||
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera
|
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera
|
||||||
|
|
||||||
|
|
|
@ -192,7 +192,7 @@ public class FragmentAccounts extends FragmentBase {
|
||||||
return null;
|
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 tvCategory = header.findViewById(R.id.tvCategory);
|
||||||
TextView tvDate = header.findViewById(R.id.tvDate);
|
TextView tvDate = header.findViewById(R.id.tvDate);
|
||||||
|
|
||||||
|
|
|
@ -264,7 +264,7 @@ public class FragmentFolders extends FragmentBase {
|
||||||
return null;
|
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 tvCategory = header.findViewById(R.id.tvCategory);
|
||||||
TextView tvDate = header.findViewById(R.id.tvDate);
|
TextView tvDate = header.findViewById(R.id.tvDate);
|
||||||
|
|
||||||
|
|
|
@ -139,7 +139,7 @@ public class FragmentIdentities extends FragmentBase {
|
||||||
return null;
|
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 tvCategory = header.findViewById(R.id.tvCategory);
|
||||||
TextView tvDate = header.findViewById(R.id.tvDate);
|
TextView tvDate = header.findViewById(R.id.tvDate);
|
||||||
|
|
||||||
|
|
|
@ -771,7 +771,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
if (!ch && !dh)
|
if (!ch && !dh)
|
||||||
return null;
|
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 tvCategory = header.findViewById(R.id.tvCategory);
|
||||||
TextView tvDate = header.findViewById(R.id.tvDate);
|
TextView tvDate = header.findViewById(R.id.tvDate);
|
||||||
tvCategory.setVisibility(ch ? View.VISIBLE : View.GONE);
|
tvCategory.setVisibility(ch ? View.VISIBLE : View.GONE);
|
||||||
|
|
Loading…
Reference in New Issue