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
thkouk00
2022-03-23 18:01:28 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6b776e8445bda61ffb4e7031f90599fae753125f
6b776e84
1 parent
c91f4210
bill payment small fix
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
57 deletions
app/src/main/java/warp/ly/android_sdk/activities/MainActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/activities/BillPaymentActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/fragments/BillPaymentFragment.java
warply_android_sdk/src/main/res/layout/fragment_bill_payment.xml → warply_android_sdk/src/main/res/layout/activity_bill_payment.xml
app/src/main/java/warp/ly/android_sdk/activities/MainActivity.java
View file @
6b776e8
...
...
@@ -5,12 +5,10 @@ import android.view.MenuItem;
import
androidx.annotation.NonNull
;
import
androidx.fragment.app.Fragment
;
import
androidx.fragment.app.FragmentTransaction
;
import
com.google.android.material.bottomnavigation.BottomNavigationView
;
import
com.google.android.material.navigation.NavigationBarView
;
import
ly.warp.sdk.fragments.BillPaymentFragment
;
import
ly.warp.sdk.fragments.HomeFragment
;
import
ly.warp.sdk.fragments.LoyaltyFragment
;
import
warp.ly.android_sdk.R
;
...
...
@@ -63,13 +61,6 @@ public class MainActivity extends BaseActivity implements NavigationBarView.OnIt
.
addToBackStack
(
null
)
.
commit
();
return
true
;
case
R
.
id
.
menu_shop
:
mFragmentToSet
=
BillPaymentFragment
.
newInstance
();
getSupportFragmentManager
().
beginTransaction
()
.
replace
(
R
.
id
.
fl_fragment
,
mFragmentToSet
)
.
addToBackStack
(
null
)
.
commit
();
return
true
;
}
return
false
;
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/BillPaymentActivity.java
View file @
6b776e8
...
...
@@ -27,7 +27,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene
@Override
public
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
fragment
_bill_payment
);
setContentView
(
R
.
layout
.
activity
_bill_payment
);
// mIvBack = findViewById(R.id.iv_back);
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/fragments/BillPaymentFragment.java
deleted
100644 → 0
View file @
c91f421
package
ly
.
warp
.
sdk
.
fragments
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
androidx.annotation.NonNull
;
import
androidx.fragment.app.Fragment
;
import
ly.warp.sdk.R
;
import
ly.warp.sdk.activities.BillPaymentActivity
;
import
ly.warp.sdk.activities.LoyaltyActivity
;
public
class
BillPaymentFragment
extends
Fragment
{
@Override
public
View
onCreateView
(
LayoutInflater
inflater
,
ViewGroup
container
,
Bundle
savedInstanceState
)
{
return
inflater
.
inflate
(
R
.
layout
.
fragment_bill_payment
,
container
,
false
);
}
public
void
onViewCreated
(
@NonNull
View
view
,
Bundle
savedInstanceState
)
{
super
.
onViewCreated
(
view
,
savedInstanceState
);
}
@Override
public
void
onDestroyView
()
{
super
.
onDestroyView
();
}
public
void
onClick
(
View
view
)
{
// if (view.getId() == R.id.cl_rewards_wallet) {
Intent
intent
=
new
Intent
(
getContext
(),
BillPaymentActivity
.
class
);
getContext
().
startActivity
(
intent
);
// }
}
public
static
Fragment
newInstance
()
{
BillPaymentFragment
billPaymentFragment
=
new
BillPaymentFragment
();
return
billPaymentFragment
;
}
}
\ No newline at end of file
warply_android_sdk/src/main/res/layout/
fragment
_bill_payment.xml
→
warply_android_sdk/src/main/res/layout/
activity
_bill_payment.xml
View file @
6b776e8
File moved
Please
register
or
login
to post a comment