IconTextArrayItem.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package epson.print;
  2. import android.os.Parcel;
  3. import com.felipecsl.asymmetricgridview.library.model.AsymmetricItem;
  4. public class IconTextArrayItem implements AsymmetricItem {
  5. int AppDiscId;
  6. String ClassName;
  7. String PackageName;
  8. String appId;
  9. private int columnSpan;
  10. String googleStoreUrl;
  11. int imageID;
  12. boolean isInstall;
  13. boolean isRemoteAvailable;
  14. String key;
  15. int menuId;
  16. private int rowSpan;
  17. boolean showMenu;
  18. public int describeContents() {
  19. return 0;
  20. }
  21. public void writeToParcel(Parcel parcel, int i) {
  22. }
  23. IconTextArrayItem() {
  24. imageID = 0;
  25. menuId = 0;
  26. showMenu = true;
  27. columnSpan = 1;
  28. rowSpan = 1;
  29. }
  30. IconTextArrayItem(int i, int i2, String str) {
  31. imageID = i;
  32. menuId = i2;
  33. PackageName = BuildConfig.APPLICATION_ID;
  34. ClassName = str;
  35. isRemoteAvailable = true;
  36. showMenu = true;
  37. columnSpan = 1;
  38. rowSpan = 1;
  39. }
  40. public int getColumnSpan() {
  41. return columnSpan;
  42. }
  43. public int getRowSpan() {
  44. return rowSpan;
  45. }
  46. public void setColumnSpan(int i) {
  47. columnSpan = i;
  48. }
  49. public void setRowSpan(int i) {
  50. rowSpan = i;
  51. }
  52. }