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-11-14 18:48:09 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3f057f88f1d7f58b686ec5f3433b7e81b7201d4a
3f057f88
1 parent
4420d403
new keys
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponsetInfoActivity.java
warply_android_sdk/src/main/res/values-xxxhdpi/dimens.xml
warply_android_sdk/build.gradle
View file @
3f057f8
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.4.6rc1
0
'
PUBLISH_VERSION
=
'4.5.4.6rc1
1
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponsetInfoActivity.java
View file @
3f057f8
...
...
@@ -108,6 +108,7 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe
return
;
}
if
(
view
.
getId
()
==
R
.
id
.
ll_get_gift
)
{
mLlRedeem
.
setEnabled
(
false
);
mPbLoading
.
setVisibility
(
View
.
VISIBLE
);
WarplyAnalyticsManager
.
logTrackersEvent
(
this
,
"click"
,
(
"RetrieveCoupon"
)
.
concat
(
":"
)
...
...
@@ -218,12 +219,14 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe
}
else
{
showDialog
(
false
,
status
);
}
mLlRedeem
.
setEnabled
(
true
);
}
@Override
public
void
onFailure
(
int
errorCode
)
{
mPbLoading
.
setVisibility
(
View
.
GONE
);
showDialog
(
false
,
errorCode
);
mLlRedeem
.
setEnabled
(
true
);
}
};
...
...
warply_android_sdk/src/main/res/values-xxxhdpi/dimens.xml
View file @
3f057f8
<resources>
<dimen
name=
"width_full"
>
320dp
</dimen>
<dimen
name=
"height_carousel"
>
220dp
</dimen>
<dimen
name=
"marginTop"
>
2
40dp
</dimen>
<dimen
name=
"marginTop"
>
1
40dp
</dimen>
</resources>
...
...
Please
register
or
login
to post a comment