Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.

Commit f351365

Browse files
committed
Added generic type object to save custom data about an app or activity to
1 parent d44276a commit f351365

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

applistmanagerlibrary/src/main/java/com/layoutxml/applistmanagerlibrary/objects/AppData.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public class AppData {
1515
private Integer flags;
1616
private String activityName;
1717
private String[] permissions;
18+
private Object object;
1819

1920
public String[] getPermissions() {
2021
return permissions;
@@ -65,6 +66,14 @@ public void setIcon(Drawable icon) {
6566
this.icon = icon;
6667
}
6768

69+
public Object getObject() {
70+
return object;
71+
}
72+
73+
public void setObject(Object object) {
74+
this.object = object;
75+
}
76+
6877
@Override
6978
public boolean equals(Object o){
7079
if(o instanceof AppData){

0 commit comments

Comments
 (0)