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
2026-03-20 13:03:00 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
47120148486a538946ced8f36f4ce8e104a1ceae
47120148
1 parent
dbe2ad58
minor addition
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/HomeActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/activities/HomeActivity.java
View file @
4712014
...
...
@@ -262,8 +262,6 @@ public class HomeActivity extends Activity implements View.OnClickListener, Coup
mBannerAdapter
=
new
CarouselAdapter
(
this
,
WarplyManagerHelper
.
getCarouselList
());
mBannerAdapter
.
setOnBannerClickListener
(
carouselItem
->
{
// startActivity(WarpViewActivity.createIntentFromURL(this, WarplyManagerHelper.constructCampaignUrl(carouselItem.getUrl())));
if
(!
TextUtils
.
isEmpty
(
carouselItem
.
getUrl
()))
{
if
(
carouselItem
.
getUrl
().
contains
(
"Offers?"
))
{
//TODO: category uuid
...
...
@@ -276,6 +274,8 @@ public class HomeActivity extends Activity implements View.OnClickListener, Coup
startActivity
(
myIntent
);
}
}
}
else
if
(
carouselItem
.
getUrl
().
contains
(
"index.html"
))
{
startActivity
(
WarpViewActivity
.
createIntentFromURL
(
this
,
WarplyManagerHelper
.
constructCampaignUrl
(
carouselItem
.
getUrl
())));
}
}
});
...
...
Please
register
or
login
to post a comment