Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2024-03-04 14:59:35 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ace8843c04341ec126ae7faf29e4e5bbbc290b5f
ace8843c
1 parent
4ca9f1fb
my rewards fragment ui changes
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
11 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/fragments/MyRewardsFragment.java
warply_android_sdk/src/main/java/ly/warp/sdk/services/EventCampaignCouponService.java
warply_android_sdk/src/main/res/drawable-xhdpi/ic_history_black.png
warply_android_sdk/src/main/res/drawable/round_border_green3.xml
warply_android_sdk/src/main/res/drawable/round_border_green3_tr.xml
warply_android_sdk/src/main/res/drawable/selector_button_green_border2.xml
warply_android_sdk/src/main/res/layout/activity_couponset_info.xml
warply_android_sdk/src/main/res/layout/fragment_my_rewards.xml
warply_android_sdk/src/main/res/values/strings.xml
warply_android_sdk/src/main/java/ly/warp/sdk/fragments/MyRewardsFragment.java
View file @
ace8843
This diff is collapsed. Click to expand it.
warply_android_sdk/src/main/java/ly/warp/sdk/services/EventCampaignCouponService.java
View file @
ace8843
...
...
@@ -3,8 +3,6 @@ package ly.warp.sdk.services;
import
android.content.Context
;
import
androidx.annotation.NonNull
;
import
androidx.work.OneTimeWorkRequest
;
import
androidx.work.WorkManager
;
import
androidx.work.Worker
;
import
androidx.work.WorkerParameters
;
...
...
@@ -12,17 +10,11 @@ import org.greenrobot.eventbus.EventBus;
import
java.util.ArrayList
;
import
ly.warp.sdk.Warply
;
import
ly.warp.sdk.activities.CouponsetInfoActivity
;
import
ly.warp.sdk.io.callbacks.CallbackReceiver
;
import
ly.warp.sdk.io.models.Campaign
;
import
ly.warp.sdk.io.models.CampaignList
;
import
ly.warp.sdk.io.models.CouponList
;
import
ly.warp.sdk.io.models.CouponsEventModel
;
import
ly.warp.sdk.io.models.LoyaltyEventModel
;
import
ly.warp.sdk.io.models.WarplyCouponsChangedEventModel
;
import
ly.warp.sdk.io.request.WarplyGetCampaignsRequest
;
import
ly.warp.sdk.io.request.WarplyUserCouponsRequest
;
import
ly.warp.sdk.utils.managers.WarplyEventBusManager
;
import
ly.warp.sdk.utils.managers.WarplyManager
;
...
...
warply_android_sdk/src/main/res/drawable-xhdpi/ic_history_black.png
0 → 100644
View file @
ace8843
1.78 KB
warply_android_sdk/src/main/res/drawable/round_border_green3.xml
0 → 100644
View file @
ace8843
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"@color/white"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/cos_green12"
/>
<corners
android:radius=
"12dp"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/round_border_green3_tr.xml
0 → 100644
View file @
ace8843
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"@color/white"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/cos_green6_tr"
/>
<corners
android:radius=
"12dp"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/selector_button_green_border2.xml
0 → 100644
View file @
ace8843
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@drawable/round_border_green3_tr"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/round_border_green3"
android:state_pressed=
"false"
/>
</selector>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/activity_couponset_info.xml
View file @
ace8843
...
...
@@ -85,9 +85,10 @@
<LinearLayout
android:id=
"@+id/ll_get_gift"
android:layout_width=
"
140dp
"
android:layout_width=
"
match_parent
"
android:layout_height=
"45dp"
android:layout_marginTop=
"27dp"
android:layout_marginHorizontal=
"12dp"
android:background=
"@drawable/selector_button_green"
android:gravity=
"center"
android:orientation=
"horizontal"
>
...
...
@@ -98,7 +99,7 @@
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:includeFontPadding=
"false"
android:text=
"@string/cos_redeem_coupon"
android:text=
"@string/cos_redeem_coupon
2
"
android:textColor=
"@color/white"
android:textSize=
"16sp"
/>
</LinearLayout>
...
...
warply_android_sdk/src/main/res/layout/fragment_my_rewards.xml
View file @
ace8843
This diff is collapsed. Click to expand it.
warply_android_sdk/src/main/res/values/strings.xml
View file @
ace8843
...
...
@@ -39,6 +39,7 @@
<string
name=
"cos_coupons_title"
>
ΚΟΥΠΟΝΙΑ
</string>
<string
name=
"cos_coupon_terms_title"
>
Όροι χρήσης
</string>
<string
name=
"cos_redeem_coupon"
>
Απόκτησέ το
</string>
<string
name=
"cos_redeem_coupon2"
>
Απόκτησέ το δωρεάν
</string>
<string
name=
"cos_dlg_success_subtitle"
>
Το κουπόνι εξαργυρώθηκε με επιτυχία
</string>
<string
name=
"cos_dlg_error_title"
>
Αποτυχία
</string>
<string
name=
"cos_dlg_error_title2"
>
Αποτυχία αποστολής
</string>
...
...
@@ -113,7 +114,7 @@
<string
name=
"cos_dlg_negative_button3"
>
Αποστολή
</string>
<string
name=
"cos_dlg_error_subtitle2"
>
Παρακαλούμε συμπλήρωσε σωστά τα πεδία.
</string>
<string
name=
"cos_dlg_success_couponset_title"
>
Επιτυχής ενεργοποίηση
</string>
<string
name=
"cos_dlg_success_couponset_subtitle"
>
Το κουπόνι σου έχει ενεργοποιηθεί στην ενότητα My Rewards.
</string>
<string
name=
"cos_dlg_success_couponset_subtitle"
>
Το κουπόνι σου έχει ενεργοποιηθεί
και βρίσκεται
στην ενότητα My Rewards.
</string>
<string
name=
"cos_dlg_activate_telco_title"
>
Ενεργοποίηση υπηρεσίας
</string>
<string
name=
"cos_dlg_activate_telco_subtitle"
>
Θέλετε να γίνει ενεργοποίηση στο Κινητό μου;
</string>
<string
name=
"cos_dlg_activate_success_title"
>
Το αίτημά σου ολοκληρώθηκε επιτυχώς!
</string>
...
...
Please
register
or
login
to post a comment