|
|
@ -8,6 +8,7 @@ import com.gmeremit.online.gmeremittance_native.homeV2.presenter.HomeNotificatio |
|
|
|
*/ |
|
|
|
public class HomeNotificationViewDTO { |
|
|
|
|
|
|
|
private boolean shouldShowPrivilegedView; |
|
|
|
private String title; |
|
|
|
private String messageBody; |
|
|
|
private HomeNotificationHandler.HomeNoticeViewTypeEnum noticeViewType; |
|
|
@ -18,6 +19,7 @@ public class HomeNotificationViewDTO { |
|
|
|
this.messageBody = messageBody; |
|
|
|
this.noticeViewType = noticeViewType; |
|
|
|
this.isFocused=false; |
|
|
|
this.shouldShowPrivilegedView=false; |
|
|
|
} |
|
|
|
|
|
|
|
public String getTitle() { |
|
|
@ -32,6 +34,17 @@ public class HomeNotificationViewDTO { |
|
|
|
return noticeViewType; |
|
|
|
} |
|
|
|
|
|
|
|
public boolean shouldShowPrivilegedView() { |
|
|
|
return shouldShowPrivilegedView; |
|
|
|
} |
|
|
|
|
|
|
|
public void setShouldShowPrivilegedView(boolean action) |
|
|
|
{ |
|
|
|
shouldShowPrivilegedView=action; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* Check if background of notification view needs to be made dimmer |
|
|
|
* @return |
|
|
|