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
2022-10-19 18:44:00 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2a73199a471feb78adebd1d2d4ddf12de8744c16
2a73199a
1 parent
cb8bc160
new keys
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponInfoActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/activities/ShopsActivity.java
warply_android_sdk/build.gradle
View file @
2a73199
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.4-cosbeta9
6
'
PUBLISH_VERSION
=
'4.5.4-cosbeta9
7
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponInfoActivity.java
View file @
2a73199
...
...
@@ -133,7 +133,6 @@ public class CouponInfoActivity extends Activity implements View.OnClickListener
Intent
intent
=
new
Intent
(
CouponInfoActivity
.
this
,
ShopsActivity
.
class
);
intent
.
putExtra
(
"couponset"
,
(
Serializable
)
mCouponset
);
intent
.
putExtra
(
"merchant"
,
(
Serializable
)
mMerchant
);
startActivity
(
intent
);
return
;
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/ShopsActivity.java
View file @
2a73199
...
...
@@ -44,6 +44,7 @@ import ly.warp.sdk.io.models.Couponset;
import
ly.warp.sdk.io.models.Merchant
;
import
ly.warp.sdk.io.models.MerchantList
;
import
ly.warp.sdk.io.request.WarplyMerchantsRequest
;
import
ly.warp.sdk.utils.WarplyManagerHelper
;
import
ly.warp.sdk.utils.constants.WarpConstants
;
import
ly.warp.sdk.utils.managers.WarplyAnalyticsManager
;
import
ly.warp.sdk.utils.managers.WarplyManager
;
...
...
@@ -82,7 +83,12 @@ public class ShopsActivity extends FragmentActivity implements View.OnClickListe
setContentView
(
R
.
layout
.
activity_shops
);
mCouponset
=
(
Couponset
)
getIntent
().
getSerializableExtra
(
"couponset"
);
mMerchant
=
(
Merchant
)
getIntent
().
getSerializableExtra
(
"merchant"
);
for
(
Merchant
merchant
:
WarplyManagerHelper
.
getMerchantList
())
{
if
(
merchant
.
getUuid
().
equals
(
mCouponset
.
getMerchantUuid
()))
{
mMerchant
=
merchant
;
break
;
}
}
mIvBack
=
findViewById
(
R
.
id
.
iv_shops_back
);
mMapView
=
(
SupportMapFragment
)
getSupportFragmentManager
().
findFragmentById
(
R
.
id
.
mv_shops
);
...
...
Please
register
or
login
to post a comment