Mohan Shiwakoti
1 year ago
87 changed files with 1657 additions and 1214 deletions
-
1SpinnerDatePickerLib-release/build/.transforms/06173abc94c4b343d4648341a0e07733/results.bin
-
BINSpinnerDatePickerLib-release/build/.transforms/06173abc94c4b343d4648341a0e07733/transformed/jetified-SpinnerDatePickerLib-release-runtime.jar
-
0SpinnerDatePickerLib-release/build/.transforms/0d565a87d8095d9be5f568296cf6628d/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/13761a05e75319c2d41ed2d29e449f7e/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/18f2c7689111ef6bcd63f709d23d80c5/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/1c6898b6b5e2219f756610653171cae9/results.bin
-
1SpinnerDatePickerLib-release/build/.transforms/1e31e009844f31a0b421ccf89ec578f2/results.bin
-
1SpinnerDatePickerLib-release/build/.transforms/1e70b8f6fb045be6edecd6a7c77ba6e3/results.bin
-
BINSpinnerDatePickerLib-release/build/.transforms/1e70b8f6fb045be6edecd6a7c77ba6e3/transformed/jetified-SpinnerDatePickerLib-release.aar
-
1SpinnerDatePickerLib-release/build/.transforms/3226c86a03c27e0b52dc114426e60a45/results.bin
-
BINSpinnerDatePickerLib-release/build/.transforms/3226c86a03c27e0b52dc114426e60a45/transformed/com.tsongkha.spinnerdatepicker/layout_date_picker.xml.flat
-
BINSpinnerDatePickerLib-release/build/.transforms/3226c86a03c27e0b52dc114426e60a45/transformed/com.tsongkha.spinnerdatepicker/layout_date_picker_container.xml.flat
-
BINSpinnerDatePickerLib-release/build/.transforms/3226c86a03c27e0b52dc114426e60a45/transformed/com.tsongkha.spinnerdatepicker/layout_date_picker_dialog.xml.flat
-
BINSpinnerDatePickerLib-release/build/.transforms/3226c86a03c27e0b52dc114426e60a45/transformed/com.tsongkha.spinnerdatepicker/layout_date_picker_dialog_container.xml.flat
-
BINSpinnerDatePickerLib-release/build/.transforms/3226c86a03c27e0b52dc114426e60a45/transformed/com.tsongkha.spinnerdatepicker/layout_date_range_picker_dialog_container.xml.flat
-
BINSpinnerDatePickerLib-release/build/.transforms/3226c86a03c27e0b52dc114426e60a45/transformed/com.tsongkha.spinnerdatepicker/layout_number_picker_day_month.xml.flat
-
BINSpinnerDatePickerLib-release/build/.transforms/3226c86a03c27e0b52dc114426e60a45/transformed/com.tsongkha.spinnerdatepicker/layout_number_picker_year.xml.flat
-
1SpinnerDatePickerLib-release/build/.transforms/35dbf8f58c1950889eb48acd993d1005/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/3d8a6897820fd012a437973ca8cd6b17/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/508f667d613fc98efa0ea9d960fefd9d/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/9cd8e2c0816ffb29222eb8287c206378/results.bin
-
1SpinnerDatePickerLib-release/build/.transforms/a155bfdc3afa7a6d54c841b1aa86cc8c/results.bin
-
BINSpinnerDatePickerLib-release/build/.transforms/a155bfdc3afa7a6d54c841b1aa86cc8c/transformed/jetified-SpinnerDatePickerLib-release-api.jar
-
1SpinnerDatePickerLib-release/build/.transforms/c306f61dffc34d52e276df133d0dba77/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/c5848b33105e03990b9bd190c7a082d1/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/ce2fafb0c5e3c72aee3fcb37df98fb88/results.bin
-
1SpinnerDatePickerLib-release/build/.transforms/cebbe8ee8de185a162c1310c7936a972/results.bin
-
18SpinnerDatePickerLib-release/build/.transforms/cebbe8ee8de185a162c1310c7936a972/transformed/com.tsongkha.spinnerdatepicker-r.txt
-
1SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/results.bin
-
14SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/AndroidManifest.xml
-
17SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/R.txt
-
BINSpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/jars/classes.jar
-
71SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/res/layout/date_picker.xml
-
41SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/res/layout/date_picker_container.xml
-
26SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/res/layout/date_picker_dialog.xml
-
8SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/res/layout/date_picker_dialog_container.xml
-
33SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/res/layout/date_range_picker_dialog_container.xml
-
12SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/res/layout/number_picker_day_month.xml
-
12SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/res/layout/number_picker_year.xml
-
4SpinnerDatePickerLib-release/build/.transforms/db2aa8109c967949a3546dd8d237918e/transformed/jetified-SpinnerDatePickerLib-release/res/values/values.xml
-
1SpinnerDatePickerLib-release/build/.transforms/dc48666a57d7f583687c3a789acf9e56/results.bin
-
0SpinnerDatePickerLib-release/build/.transforms/f0ee582915d1d386580207d54c04989a/results.bin
-
1SpinnerDatePickerLib-release/build/.transforms/f24e4be2dcde46762fc6ac10e497d27a/results.bin
-
BINSpinnerDatePickerLib-release/build/.transforms/f24e4be2dcde46762fc6ac10e497d27a/transformed/jetified-SpinnerDatePickerLib-release-runtime/classes.dex
-
20app/build.gradle
-
10app/src/main/java/com/remit/jmecustomer/common/customwidgets/GenericViewPagerAdapter.java
-
1app/src/main/java/com/remit/jmecustomer/features/exrate/presenter/ExchangeRatePresenter.java
-
9app/src/main/java/com/remit/jmecustomer/features/homeV3/view/HomeActivityV3.kt
-
21app/src/main/java/com/remit/jmecustomer/features/homeV3/view/HomeFragmentV3.kt
-
2app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/KYCV3ViewModelFactory.java
-
23app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/gateway/KYCV3Gateway.java
-
76app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/model/kycSetting/Config.java
-
98app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/model/kycSetting/Example.java
-
34app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/model/kycSetting/KycSettingData.java
-
96app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/model/kycSetting/Option.java
-
12app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/presenter/KYCV3GatewayInterface.java
-
11app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/presenter/KYCV3PresenterInterface.java
-
174app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/presenter/KYCV3ViewModel.java
-
60app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/view/KYCV3Activity.java
-
62app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/view/adapter/KycTypeAdapter.kt
-
53app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/view/choose/ChooseKycFragment.kt
-
250app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/view/documents/KYCIDTypeFragment.java
-
279app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/view/documents/KYCIDTypeViewLiveData.java
-
6app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/view/personal/CustomerDetailFragment.java
-
2app/src/main/java/com/remit/jmecustomer/features/kyc/newCustomer/view/personal/CustomerDetailViewLiveData.java
-
5app/src/main/java/com/remit/jmecustomer/features/newkyc/existingCustomer/gateway/ExistingExistingKYCV4Gateway.java
-
2app/src/main/java/com/remit/jmecustomer/features/newkyc/existingCustomer/presenter/ExistingKYCV4GatewayInterface.java
-
2app/src/main/java/com/remit/jmecustomer/features/newkyc/existingCustomer/presenter/ExistingKYCV4PresenterInterface.java
-
52app/src/main/java/com/remit/jmecustomer/features/newkyc/existingCustomer/presenter/ExistingKYCV4ViewModel.java
-
18app/src/main/java/com/remit/jmecustomer/features/newkyc/existingCustomer/view/ExistingKYCV4Activity.java
-
3app/src/main/java/com/remit/jmecustomer/features/newkyc/newCustomer/presenter/KYCV4PresenterInterface.java
-
6app/src/main/java/com/remit/jmecustomer/features/newkyc/newCustomer/presenter/KYCV4ViewModel.java
-
52app/src/main/java/com/remit/jmecustomer/features/newkyc/newCustomer/view/choose/ChooseKycFragment.kt
-
1app/src/main/java/com/remit/jmecustomer/features/newkyc/newCustomer/view/personal/CustomerDetailFragment.java
-
211app/src/main/java/com/remit/jmecustomer/features/newkyc/newCustomer/view/personal/CustomerDetailViewLiveData.java
-
2app/src/main/java/com/remit/jmecustomer/features/sendmoney/view/amountdetail/AmountDetailSendMoneyFragment.java
-
2app/src/main/java/com/remit/jmecustomer/utils/Constants.java
-
4app/src/main/java/com/remit/jmecustomer/utils/https/API_URL.java
-
9app/src/main/java/com/remit/jmecustomer/utils/https/ApiEndpoints.java
-
64app/src/main/res/layout/ekyc_header.xml
-
27app/src/main/res/layout/fragment_choose_kyc.xml
-
533app/src/main/res/layout/fragment_ekyc_document.xml
-
147app/src/main/res/layout/fragment_kyc_document.xml
-
66app/src/main/res/layout/kyc_header.xml
-
93app/src/main/res/layout/row_kyc_type.xml
-
5app/src/main/res/values/strings.xml
-
1app/src/main/res/xml/network_security_config.xml
@ -0,0 +1 @@ |
|||||
|
o/jetified-SpinnerDatePickerLib-release-runtime.jar |
@ -0,0 +1 @@ |
|||||
|
i/res |
@ -0,0 +1 @@ |
|||||
|
o/jetified-SpinnerDatePickerLib-release.aar |
@ -0,0 +1 @@ |
|||||
|
o/com.tsongkha.spinnerdatepicker |
@ -0,0 +1 @@ |
|||||
|
i/jars/classes.jar |
@ -0,0 +1 @@ |
|||||
|
o/jetified-SpinnerDatePickerLib-release-api.jar |
@ -0,0 +1 @@ |
|||||
|
i/AndroidManifest.xml |
@ -0,0 +1 @@ |
|||||
|
o/com.tsongkha.spinnerdatepicker-r.txt |
@ -0,0 +1,18 @@ |
|||||
|
com.tsongkha.spinnerdatepicker |
||||
|
id datePickerContainer |
||||
|
id dateRangePickerContainer |
||||
|
id day |
||||
|
id fromDateText |
||||
|
id month |
||||
|
id number_picker |
||||
|
id parent |
||||
|
id toDateText |
||||
|
id year |
||||
|
layout date_picker |
||||
|
layout date_picker_container |
||||
|
layout date_picker_dialog |
||||
|
layout date_picker_dialog_container |
||||
|
layout date_range_picker_dialog_container |
||||
|
layout number_picker_day_month |
||||
|
layout number_picker_year |
||||
|
string app_name |
@ -0,0 +1 @@ |
|||||
|
o/jetified-SpinnerDatePickerLib-release |
@ -0,0 +1,14 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
package="com.tsongkha.spinnerdatepicker" |
||||
|
android:versionCode="106" |
||||
|
android:versionName="1.0.6" > |
||||
|
|
||||
|
<uses-sdk |
||||
|
android:minSdkVersion="16" |
||||
|
android:targetSdkVersion="27" /> |
||||
|
|
||||
|
<application android:supportsRtl="true" > |
||||
|
</application> |
||||
|
|
||||
|
</manifest> |
@ -0,0 +1,17 @@ |
|||||
|
int id datePickerContainer 0x7f0b0001 |
||||
|
int id dateRangePickerContainer 0x7f0b0002 |
||||
|
int id day 0x7f0b0003 |
||||
|
int id fromDateText 0x7f0b0004 |
||||
|
int id month 0x7f0b0005 |
||||
|
int id number_picker 0x7f0b0006 |
||||
|
int id parent 0x7f0b0007 |
||||
|
int id toDateText 0x7f0b0008 |
||||
|
int id year 0x7f0b0009 |
||||
|
int layout date_picker 0x7f0e0001 |
||||
|
int layout date_picker_container 0x7f0e0002 |
||||
|
int layout date_picker_dialog 0x7f0e0003 |
||||
|
int layout date_picker_dialog_container 0x7f0e0004 |
||||
|
int layout date_range_picker_dialog_container 0x7f0e0005 |
||||
|
int layout number_picker_day_month 0x7f0e0006 |
||||
|
int layout number_picker_year 0x7f0e0007 |
||||
|
int string app_name 0x7f140001 |
@ -0,0 +1,71 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<!-- |
||||
|
** |
||||
|
** Copyright 2007, The Android Open Source Project |
||||
|
** |
||||
|
** Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
** you may not use this file except in compliance with the License. |
||||
|
** You may obtain a copy of the License at |
||||
|
** |
||||
|
** http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
** |
||||
|
** Unless required by applicable law or agreed to in writing, software |
||||
|
** distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
** See the License for the specific language governing permissions and |
||||
|
** limitations under the License. |
||||
|
*/ |
||||
|
--> |
||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
android:layout_width="270dip" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_gravity="center_horizontal" |
||||
|
android:orientation="vertical"> |
||||
|
|
||||
|
<LinearLayout |
||||
|
android:id="@+id/parent" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_gravity="center_horizontal" |
||||
|
android:orientation="horizontal"> |
||||
|
|
||||
|
<!-- Month --> |
||||
|
<NumberPicker |
||||
|
android:id="@+id/month" |
||||
|
android:layout_width="80dip" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginEnd="1dip" |
||||
|
android:layout_marginLeft="1dip" |
||||
|
android:layout_marginRight="1dip" |
||||
|
android:layout_marginStart="1dip" |
||||
|
android:focusable="true" |
||||
|
android:focusableInTouchMode="true" |
||||
|
/> |
||||
|
|
||||
|
<!-- Day --> |
||||
|
<NumberPicker |
||||
|
android:id="@+id/day" |
||||
|
android:layout_width="80dip" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginEnd="1dip" |
||||
|
android:layout_marginLeft="1dip" |
||||
|
android:layout_marginRight="1dip" |
||||
|
android:layout_marginStart="1dip" |
||||
|
android:focusable="true" |
||||
|
android:focusableInTouchMode="true" |
||||
|
/> |
||||
|
|
||||
|
<!-- Year --> |
||||
|
<NumberPicker |
||||
|
android:id="@+id/year" |
||||
|
android:layout_width="95dip" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginEnd="1dip" |
||||
|
android:layout_marginLeft="1dip" |
||||
|
android:layout_marginRight="1dip" |
||||
|
android:layout_marginStart="1dip" |
||||
|
android:focusable="true" |
||||
|
android:focusableInTouchMode="true" |
||||
|
/> |
||||
|
</LinearLayout> |
||||
|
</LinearLayout> |
@ -0,0 +1,41 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<!-- |
||||
|
** |
||||
|
** Copyright 2007, The Android Open Source Project |
||||
|
** |
||||
|
** Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
** you may not use this file except in compliance with the License. |
||||
|
** You may obtain a copy of the License at |
||||
|
** |
||||
|
** http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
** |
||||
|
** Unless required by applicable law or agreed to in writing, software |
||||
|
** distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
** See the License for the specific language governing permissions and |
||||
|
** limitations under the License. |
||||
|
*/ |
||||
|
--> |
||||
|
|
||||
|
<!-- Layout of date picker--> |
||||
|
|
||||
|
<!-- The width of this container is manually set a little bigger than the one of the children |
||||
|
contained in it. This helps to prevent rounding errors when toggling the "Show year" option --> |
||||
|
|
||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
android:orientation="vertical" |
||||
|
android:layout_gravity="center_horizontal" |
||||
|
android:layout_width="270dip" |
||||
|
android:layout_height="wrap_content"> |
||||
|
|
||||
|
<!-- Warning: everything within the parent is removed and re-ordered depending |
||||
|
on the date format selected by the user. --> |
||||
|
<LinearLayout |
||||
|
android:id="@+id/parent" |
||||
|
android:orientation="horizontal" |
||||
|
android:layout_gravity="center_horizontal" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content"> |
||||
|
|
||||
|
</LinearLayout> |
||||
|
</LinearLayout> |
@ -0,0 +1,26 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<!-- |
||||
|
Copyright (C) 2007 The Android Open Source Project |
||||
|
|
||||
|
Licensed under the Apache License, Version 2.0 (the "License"); |
||||
|
you may not use this file except in compliance with the License. |
||||
|
You may obtain a copy of the License at |
||||
|
|
||||
|
http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
|
||||
|
Unless required by applicable law or agreed to in writing, software |
||||
|
distributed under the License is distributed on an "AS IS" BASIS, |
||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
|
See the License for the specific language governing permissions and |
||||
|
limitations under the License. |
||||
|
--> |
||||
|
|
||||
|
<com.tsongkha.spinnerdatepicker.DatePicker xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
android:id="@+id/datePickerContainer" |
||||
|
android:layout_gravity="center_horizontal" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:spinnersShown="true" |
||||
|
android:calendarViewShown="false" |
||||
|
/> |
||||
|
<!--android:dialogMode="true" --> |
@ -0,0 +1,8 @@ |
|||||
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
android:id="@+id/datePickerContainer" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_gravity="center_horizontal"> |
||||
|
|
||||
|
</FrameLayout> |
||||
|
|
@ -0,0 +1,33 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
android:orientation="vertical" android:layout_width="wrap_content" |
||||
|
android:id="@+id/dateRangePickerContainer" |
||||
|
android:layout_height="wrap_content"> |
||||
|
<TextView |
||||
|
android:layout_marginStart="25dp" |
||||
|
android:layout_marginLeft="12dp" |
||||
|
android:layout_marginTop="10dp" |
||||
|
android:paddingTop="3dp" |
||||
|
android:paddingBottom="3dp" |
||||
|
android:text="From Date: " |
||||
|
android:id="@+id/fromDateText" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:textSize="16sp" |
||||
|
/> |
||||
|
|
||||
|
|
||||
|
<TextView |
||||
|
android:layout_marginTop="5dp" |
||||
|
android:layout_marginStart="25dp" |
||||
|
android:layout_marginLeft="25dp" |
||||
|
android:paddingTop="3dp" |
||||
|
android:paddingBottom="3dp" |
||||
|
android:text="To Date: " |
||||
|
android:id="@+id/toDateText" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:textSize="16sp"/> |
||||
|
|
||||
|
|
||||
|
</LinearLayout> |
@ -0,0 +1,12 @@ |
|||||
|
<NumberPicker |
||||
|
android:id="@+id/number_picker" |
||||
|
xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
android:layout_width="80dip" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginLeft="1dip" |
||||
|
android:layout_marginRight="1dip" |
||||
|
android:layout_marginStart="1dip" |
||||
|
android:layout_marginEnd="1dip" |
||||
|
android:focusable="true" |
||||
|
android:focusableInTouchMode="true" |
||||
|
/> |
@ -0,0 +1,12 @@ |
|||||
|
<NumberPicker |
||||
|
android:id="@+id/number_picker" |
||||
|
xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
android:layout_width="95dip" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginLeft="1dip" |
||||
|
android:layout_marginRight="1dip" |
||||
|
android:layout_marginStart="1dip" |
||||
|
android:layout_marginEnd="1dip" |
||||
|
android:focusable="true" |
||||
|
android:focusableInTouchMode="true" |
||||
|
/> |
@ -0,0 +1,4 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<resources> |
||||
|
<string name="app_name">SpinnerDatePicker</string> |
||||
|
</resources> |
@ -0,0 +1 @@ |
|||||
|
i/ |
@ -0,0 +1 @@ |
|||||
|
o/jetified-SpinnerDatePickerLib-release-runtime |
@ -0,0 +1,76 @@ |
|||||
|
|
||||
|
package com.remit.jmecustomer.features.kyc.newCustomer.model.kycSetting; |
||||
|
|
||||
|
import com.google.gson.annotations.Expose; |
||||
|
import com.google.gson.annotations.SerializedName; |
||||
|
|
||||
|
public class Config { |
||||
|
|
||||
|
@SerializedName("URL") |
||||
|
@Expose |
||||
|
private String url; |
||||
|
@SerializedName("Authorization_Key") |
||||
|
@Expose |
||||
|
private String authorizationKey; |
||||
|
@SerializedName("Sdk_Token") |
||||
|
@Expose |
||||
|
private String sdkToken; |
||||
|
@SerializedName("MavenURL") |
||||
|
@Expose |
||||
|
private String mavenURL; |
||||
|
@SerializedName("Sdk_DownloadUser") |
||||
|
@Expose |
||||
|
private String sdkDownloadUser; |
||||
|
@SerializedName("Sdk_DownloadPass") |
||||
|
@Expose |
||||
|
private String sdkDownloadPass; |
||||
|
|
||||
|
public String getUrl() { |
||||
|
return url; |
||||
|
} |
||||
|
|
||||
|
public void setUrl(String url) { |
||||
|
this.url = url; |
||||
|
} |
||||
|
|
||||
|
public String getAuthorizationKey() { |
||||
|
return authorizationKey; |
||||
|
} |
||||
|
|
||||
|
public void setAuthorizationKey(String authorizationKey) { |
||||
|
this.authorizationKey = authorizationKey; |
||||
|
} |
||||
|
|
||||
|
public String getSdkToken() { |
||||
|
return sdkToken; |
||||
|
} |
||||
|
|
||||
|
public void setSdkToken(String sdkToken) { |
||||
|
this.sdkToken = sdkToken; |
||||
|
} |
||||
|
|
||||
|
public String getMavenURL() { |
||||
|
return mavenURL; |
||||
|
} |
||||
|
|
||||
|
public void setMavenURL(String mavenURL) { |
||||
|
this.mavenURL = mavenURL; |
||||
|
} |
||||
|
|
||||
|
public String getSdkDownloadUser() { |
||||
|
return sdkDownloadUser; |
||||
|
} |
||||
|
|
||||
|
public void setSdkDownloadUser(String sdkDownloadUser) { |
||||
|
this.sdkDownloadUser = sdkDownloadUser; |
||||
|
} |
||||
|
|
||||
|
public String getSdkDownloadPass() { |
||||
|
return sdkDownloadPass; |
||||
|
} |
||||
|
|
||||
|
public void setSdkDownloadPass(String sdkDownloadPass) { |
||||
|
this.sdkDownloadPass = sdkDownloadPass; |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,98 @@ |
|||||
|
|
||||
|
package com.remit.jmecustomer.features.kyc.newCustomer.model.kycSetting; |
||||
|
|
||||
|
import com.google.gson.annotations.Expose; |
||||
|
import com.google.gson.annotations.SerializedName; |
||||
|
|
||||
|
public class Example { |
||||
|
|
||||
|
@SerializedName("ErrorCode") |
||||
|
@Expose |
||||
|
private String errorCode; |
||||
|
@SerializedName("Msg") |
||||
|
@Expose |
||||
|
private String msg; |
||||
|
@SerializedName("Id") |
||||
|
@Expose |
||||
|
private Object id; |
||||
|
@SerializedName("Extra") |
||||
|
@Expose |
||||
|
private Object extra; |
||||
|
@SerializedName("Extra2") |
||||
|
@Expose |
||||
|
private String extra2; |
||||
|
@SerializedName("Extra3") |
||||
|
@Expose |
||||
|
private String extra3; |
||||
|
@SerializedName("Data") |
||||
|
@Expose |
||||
|
private KycSettingData data; |
||||
|
@SerializedName("FootNoteMessage") |
||||
|
@Expose |
||||
|
private String footNoteMessage; |
||||
|
|
||||
|
public String getErrorCode() { |
||||
|
return errorCode; |
||||
|
} |
||||
|
|
||||
|
public void setErrorCode(String errorCode) { |
||||
|
this.errorCode = errorCode; |
||||
|
} |
||||
|
|
||||
|
public String getMsg() { |
||||
|
return msg; |
||||
|
} |
||||
|
|
||||
|
public void setMsg(String msg) { |
||||
|
this.msg = msg; |
||||
|
} |
||||
|
|
||||
|
public Object getId() { |
||||
|
return id; |
||||
|
} |
||||
|
|
||||
|
public void setId(Object id) { |
||||
|
this.id = id; |
||||
|
} |
||||
|
|
||||
|
public Object getExtra() { |
||||
|
return extra; |
||||
|
} |
||||
|
|
||||
|
public void setExtra(Object extra) { |
||||
|
this.extra = extra; |
||||
|
} |
||||
|
|
||||
|
public String getExtra2() { |
||||
|
return extra2; |
||||
|
} |
||||
|
|
||||
|
public void setExtra2(String extra2) { |
||||
|
this.extra2 = extra2; |
||||
|
} |
||||
|
|
||||
|
public String getExtra3() { |
||||
|
return extra3; |
||||
|
} |
||||
|
|
||||
|
public void setExtra3(String extra3) { |
||||
|
this.extra3 = extra3; |
||||
|
} |
||||
|
|
||||
|
public KycSettingData getData() { |
||||
|
return data; |
||||
|
} |
||||
|
|
||||
|
public void setData(KycSettingData data) { |
||||
|
this.data = data; |
||||
|
} |
||||
|
|
||||
|
public String getFootNoteMessage() { |
||||
|
return footNoteMessage; |
||||
|
} |
||||
|
|
||||
|
public void setFootNoteMessage(String footNoteMessage) { |
||||
|
this.footNoteMessage = footNoteMessage; |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
|
||||
|
package com.remit.jmecustomer.features.kyc.newCustomer.model.kycSetting; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
import com.google.gson.annotations.Expose; |
||||
|
import com.google.gson.annotations.SerializedName; |
||||
|
|
||||
|
public class KycSettingData { |
||||
|
|
||||
|
@SerializedName("Config") |
||||
|
@Expose |
||||
|
private Config config; |
||||
|
@SerializedName("Options") |
||||
|
@Expose |
||||
|
private List<Option> options; |
||||
|
|
||||
|
public Config getConfig() { |
||||
|
return config; |
||||
|
} |
||||
|
|
||||
|
public void setConfig(Config config) { |
||||
|
this.config = config; |
||||
|
} |
||||
|
|
||||
|
public List<Option> getOptions() { |
||||
|
return options; |
||||
|
} |
||||
|
|
||||
|
public void setOptions(List<Option> options) { |
||||
|
this.options = options; |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,96 @@ |
|||||
|
|
||||
|
package com.remit.jmecustomer.features.kyc.newCustomer.model.kycSetting; |
||||
|
|
||||
|
import com.google.gson.annotations.Expose; |
||||
|
import com.google.gson.annotations.SerializedName; |
||||
|
|
||||
|
public class Option { |
||||
|
|
||||
|
@SerializedName("Code") |
||||
|
@Expose |
||||
|
private String code; |
||||
|
@SerializedName("Name") |
||||
|
@Expose |
||||
|
private String name; |
||||
|
@SerializedName("Description") |
||||
|
@Expose |
||||
|
private String description; |
||||
|
@SerializedName("PlanId") |
||||
|
@Expose |
||||
|
private String planId; |
||||
|
@SerializedName("SelfieRequired") |
||||
|
@Expose |
||||
|
private String selfieRequired; |
||||
|
@SerializedName("Selfie_PlanId") |
||||
|
@Expose |
||||
|
private String selfiePlanId; |
||||
|
@SerializedName("Type") |
||||
|
@Expose |
||||
|
private String type; |
||||
|
|
||||
|
boolean selected; |
||||
|
|
||||
|
public String getCode() { |
||||
|
return code; |
||||
|
} |
||||
|
|
||||
|
public void setCode(String code) { |
||||
|
this.code = code; |
||||
|
} |
||||
|
|
||||
|
public String getName() { |
||||
|
return name; |
||||
|
} |
||||
|
|
||||
|
public void setName(String name) { |
||||
|
this.name = name; |
||||
|
} |
||||
|
|
||||
|
public String getDescription() { |
||||
|
return description; |
||||
|
} |
||||
|
|
||||
|
public void setDescription(String description) { |
||||
|
this.description = description; |
||||
|
} |
||||
|
|
||||
|
public String getPlanId() { |
||||
|
return planId; |
||||
|
} |
||||
|
|
||||
|
public void setPlanId(String planId) { |
||||
|
this.planId = planId; |
||||
|
} |
||||
|
|
||||
|
public String getSelfieRequired() { |
||||
|
return selfieRequired; |
||||
|
} |
||||
|
|
||||
|
public void setSelfieRequired(String selfieRequired) { |
||||
|
this.selfieRequired = selfieRequired; |
||||
|
} |
||||
|
|
||||
|
public String getSelfiePlanId() { |
||||
|
return selfiePlanId; |
||||
|
} |
||||
|
|
||||
|
public void setSelfiePlanId(String selfiePlanId) { |
||||
|
this.selfiePlanId = selfiePlanId; |
||||
|
} |
||||
|
|
||||
|
public String getType() { |
||||
|
return type; |
||||
|
} |
||||
|
|
||||
|
public void setType(String type) { |
||||
|
this.type = type; |
||||
|
} |
||||
|
|
||||
|
public boolean isSelected() { |
||||
|
return selected; |
||||
|
} |
||||
|
|
||||
|
public void setSelected(boolean selected) { |
||||
|
this.selected = selected; |
||||
|
} |
||||
|
} |
@ -0,0 +1,62 @@ |
|||||
|
package com.remit.jmecustomer.features.kyc.newCustomer.view.adapter |
||||
|
|
||||
|
import android.annotation.SuppressLint |
||||
|
import android.view.LayoutInflater |
||||
|
import android.view.ViewGroup |
||||
|
import androidx.recyclerview.widget.RecyclerView |
||||
|
import com.remit.jmecustomer.databinding.RowKycTypeBinding |
||||
|
import com.remit.jmecustomer.features.exrate.model.PaymentModeMapper |
||||
|
import com.remit.jmecustomer.features.kyc.newCustomer.model.kycSetting.Option |
||||
|
import com.remit.jmecustomer.features.recipientmanagement.model.recipientlistingV3.PaymentMethodV3Model |
||||
|
|
||||
|
class KycTypeAdapter(private val items: List<Option>) : |
||||
|
RecyclerView.Adapter<KycTypeAdapter.ViewHolder>() { |
||||
|
var itemClickListener: ItemClickListener? = null |
||||
|
private var lastPosition = 0 |
||||
|
|
||||
|
class ViewHolder(private val binding: RowKycTypeBinding) : |
||||
|
RecyclerView.ViewHolder(binding.root) { |
||||
|
val bindings: RowKycTypeBinding = binding |
||||
|
fun bind(item: Option) { |
||||
|
binding.rdBtn.isChecked = item.isSelected |
||||
|
|
||||
|
binding.tvName.text = item.name |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder { |
||||
|
val binding = RowKycTypeBinding.inflate( |
||||
|
LayoutInflater.from(parent.context), |
||||
|
parent, |
||||
|
false |
||||
|
) |
||||
|
return ViewHolder(binding) |
||||
|
} |
||||
|
|
||||
|
@SuppressLint("NotifyDataSetChanged") |
||||
|
override fun onBindViewHolder(holder: ViewHolder, @SuppressLint("RecyclerView") position: Int) { |
||||
|
val item = items[position] |
||||
|
if (lastPosition == 0) { |
||||
|
itemClickListener?.onItemClicked(items[0]) |
||||
|
} |
||||
|
holder.itemView.setOnClickListener { |
||||
|
items[lastPosition].isSelected = false |
||||
|
itemClickListener?.onItemClicked(item) |
||||
|
item.isSelected = true |
||||
|
lastPosition = position |
||||
|
notifyDataSetChanged() |
||||
|
} |
||||
|
holder.bindings.tvAccountNumber.text = item.description |
||||
|
holder.bind(item) |
||||
|
} |
||||
|
|
||||
|
override fun getItemCount(): Int = items.size |
||||
|
|
||||
|
fun setOnItemClickListener(itemClickListener: ItemClickListener) { |
||||
|
this.itemClickListener = itemClickListener |
||||
|
} |
||||
|
|
||||
|
interface ItemClickListener { |
||||
|
fun onItemClicked(option: Option) |
||||
|
} |
||||
|
} |
@ -0,0 +1,53 @@ |
|||||
|
package com.remit.jmecustomer.features.kyc.newCustomer.view.choose |
||||
|
|
||||
|
import android.os.Bundle |
||||
|
import android.view.LayoutInflater |
||||
|
import android.view.View |
||||
|
import android.view.ViewGroup |
||||
|
import androidx.lifecycle.ViewModelProvider |
||||
|
import androidx.recyclerview.widget.LinearLayoutManager |
||||
|
import com.remit.jmecustomer.base.BaseFragment |
||||
|
import com.remit.jmecustomer.databinding.FragmentChooseKycBinding |
||||
|
import com.remit.jmecustomer.features.kyc.newCustomer.model.kycSetting.Option |
||||
|
import com.remit.jmecustomer.features.kyc.newCustomer.presenter.KYCV3ViewModel |
||||
|
import com.remit.jmecustomer.features.kyc.newCustomer.view.adapter.KycTypeAdapter |
||||
|
|
||||
|
class ChooseKycFragment(private var options: List<Option>? = null) : BaseFragment() { |
||||
|
|
||||
|
private var _binding: FragmentChooseKycBinding? = null |
||||
|
private val binding get() = _binding!! |
||||
|
private var kycv3ViewModel: KYCV3ViewModel? = null |
||||
|
|
||||
|
override fun onCreateView( |
||||
|
inflater: LayoutInflater, |
||||
|
container: ViewGroup?, |
||||
|
savedInstanceState: Bundle? |
||||
|
): View? { |
||||
|
_binding = FragmentChooseKycBinding.inflate(inflater, container, false) |
||||
|
init() |
||||
|
return binding.root |
||||
|
} |
||||
|
|
||||
|
fun onFragmentedSelected() {} |
||||
|
|
||||
|
fun init() { |
||||
|
val layoutManagerVertical = LinearLayoutManager(requireActivity()) |
||||
|
binding.rvChooseKyc.layoutManager = layoutManagerVertical |
||||
|
kycv3ViewModel = ViewModelProvider(requireActivity())[KYCV3ViewModel::class.java] |
||||
|
val adapter = KycTypeAdapter(options!!) |
||||
|
binding.rvChooseKyc.adapter = adapter |
||||
|
adapter.setOnItemClickListener(object : KycTypeAdapter.ItemClickListener { |
||||
|
override fun onItemClicked(option: Option) { |
||||
|
kycv3ViewModel?.setSelectedOption(option) |
||||
|
kycv3ViewModel?.saveKycSetting(option.type, option.code) |
||||
|
} |
||||
|
|
||||
|
}) |
||||
|
|
||||
|
binding.btnSubmit1.setOnClickListener { |
||||
|
kycv3ViewModel?.redirectToInformation() |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
|
||||
|
} |
@ -1,279 +0,0 @@ |
|||||
package com.remit.jmecustomer.features.kyc.newCustomer.view.documents; |
|
||||
|
|
||||
import android.graphics.Bitmap; |
|
||||
|
|
||||
import androidx.lifecycle.LiveData; |
|
||||
import androidx.lifecycle.MutableLiveData; |
|
||||
|
|
||||
import com.remit.jmecustomer.common.model.FormInputStateDTO; |
|
||||
|
|
||||
import io.reactivex.Observable; |
|
||||
|
|
||||
|
|
||||
public class KYCIDTypeViewLiveData { |
|
||||
|
|
||||
private MutableLiveData<FormInputStateDTO<Bitmap>> idTypeFrontImageLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<Boolean>> idTypeFrontImageIsLoadingLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> idTypeFrontImageLabelLiveData; |
|
||||
|
|
||||
private MutableLiveData<FormInputStateDTO<Bitmap>> idTypeBackImageLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<Boolean>> idTypeBackImageIsLoadingLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> idTypeBackImageLabelLiveData; |
|
||||
|
|
||||
private MutableLiveData<FormInputStateDTO<Bitmap>> idTypeSideImageLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<Boolean>> idTypeSideImageIsLoadingLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> idTypeSideImageLabelLiveData; |
|
||||
|
|
||||
private MutableLiveData<FormInputStateDTO<Bitmap>> additionalIdTypeImageLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<Boolean>> additionalIdTypeImageIsLoadingLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> additionalIdTypeImageLabelLiveData; |
|
||||
|
|
||||
private MutableLiveData<FormInputStateDTO<Bitmap>> additionalIdBackTypeImageLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<Boolean>> additionalIdBackTypeImageIsLoadingLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> additionalIdBackTypeImageLabelLiveData; |
|
||||
|
|
||||
|
|
||||
private MutableLiveData<FormInputStateDTO<Bitmap>> faceImageLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<Boolean>> faceImageIsLoadingLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> faceImageLabelLiveData; |
|
||||
|
|
||||
private MutableLiveData<Boolean> allIdTypeImageValidLiveData; |
|
||||
|
|
||||
|
|
||||
public KYCIDTypeViewLiveData() { |
|
||||
idTypeFrontImageLiveData = new MutableLiveData<>(); |
|
||||
idTypeFrontImageIsLoadingLiveData = new MutableLiveData<>(); |
|
||||
idTypeFrontImageLabelLiveData = new MutableLiveData<>(); |
|
||||
|
|
||||
idTypeBackImageLiveData = new MutableLiveData<>(); |
|
||||
idTypeBackImageIsLoadingLiveData = new MutableLiveData<>(); |
|
||||
idTypeBackImageLabelLiveData = new MutableLiveData<>(); |
|
||||
|
|
||||
idTypeSideImageLiveData = new MutableLiveData<>(); |
|
||||
idTypeSideImageIsLoadingLiveData = new MutableLiveData<>(); |
|
||||
idTypeSideImageLabelLiveData = new MutableLiveData<>(); |
|
||||
|
|
||||
|
|
||||
additionalIdTypeImageLiveData = new MutableLiveData<>(); |
|
||||
additionalIdTypeImageIsLoadingLiveData = new MutableLiveData<>(); |
|
||||
additionalIdTypeImageLabelLiveData = new MutableLiveData<>(); |
|
||||
|
|
||||
additionalIdBackTypeImageLiveData = new MutableLiveData<>(); |
|
||||
additionalIdBackTypeImageIsLoadingLiveData = new MutableLiveData<>(); |
|
||||
additionalIdBackTypeImageLabelLiveData = new MutableLiveData<>(); |
|
||||
|
|
||||
|
|
||||
faceImageLiveData = new MutableLiveData<>(); |
|
||||
faceImageIsLoadingLiveData = new MutableLiveData<>(); |
|
||||
faceImageLabelLiveData = new MutableLiveData<>(); |
|
||||
|
|
||||
allIdTypeImageValidLiveData = new MutableLiveData<>(); |
|
||||
|
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Bitmap>> getIdTypeFrontImageLiveData() { |
|
||||
return idTypeFrontImageLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeFrontImageLiveData(FormInputStateDTO<Bitmap> idTypeFrontImageLiveData) { |
|
||||
this.idTypeFrontImageLiveData.postValue(idTypeFrontImageLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Boolean>> getIdTypeFrontImageIsLoadingLiveData() { |
|
||||
return idTypeFrontImageIsLoadingLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeFrontImageIsLoadingLiveData(FormInputStateDTO<Boolean> idTypeFrontImageIsLoadingLiveData) { |
|
||||
this.idTypeFrontImageIsLoadingLiveData.postValue(idTypeFrontImageIsLoadingLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<String>> getIdTypeFrontImageLabelLiveData() { |
|
||||
return idTypeFrontImageLabelLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeFrontImageLabelLiveData(FormInputStateDTO<String> idTypeFrontImageLabelLiveData) { |
|
||||
this.idTypeFrontImageLabelLiveData.postValue(idTypeFrontImageLabelLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Bitmap>> getIdTypeBackImageLiveData() { |
|
||||
return idTypeBackImageLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeBackImageLiveData(FormInputStateDTO<Bitmap> idTypeBackImageLiveData) { |
|
||||
this.idTypeBackImageLiveData.postValue(idTypeBackImageLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Boolean>> getIdTypeBackImageIsLoadingLiveData() { |
|
||||
return idTypeBackImageIsLoadingLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeBackImageIsLoadingLiveData(FormInputStateDTO<Boolean> idTypeBackImageIsLoadingLiveData) { |
|
||||
this.idTypeBackImageIsLoadingLiveData.postValue(idTypeBackImageIsLoadingLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<String>> getIdTypeBackImageLabelLiveData() { |
|
||||
return idTypeBackImageLabelLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeBackImageLabelLiveData(FormInputStateDTO<String> idTypeBackImageLabelLiveData) { |
|
||||
this.idTypeBackImageLabelLiveData.postValue(idTypeBackImageLabelLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Bitmap>> getIdTypeSideImageLiveData() { |
|
||||
return idTypeSideImageLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeSideImageLiveData(FormInputStateDTO<Bitmap> idTypeSideImageLiveData) { |
|
||||
this.idTypeSideImageLiveData.postValue(idTypeSideImageLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Boolean>> getIdTypeSideImageIsLoadingLiveData() { |
|
||||
return idTypeSideImageIsLoadingLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeSideImageIsLoadingLiveData(FormInputStateDTO<Boolean> idTypeSideImageIsLoadingLiveData) { |
|
||||
this.idTypeSideImageIsLoadingLiveData.postValue(idTypeSideImageIsLoadingLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<String>> getIdTypeSideImageLabelLiveData() { |
|
||||
return idTypeSideImageLabelLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeSideImageLabelLiveData(FormInputStateDTO<String> idTypeSideImageLabelLiveData) { |
|
||||
this.idTypeSideImageLabelLiveData.postValue(idTypeSideImageLabelLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<Boolean> getAllIdTypeImageValidLiveData() { |
|
||||
return allIdTypeImageValidLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAllIdTypeImageValidLiveData(Boolean allIdTypeImageValidLiveData) { |
|
||||
this.allIdTypeImageValidLiveData.postValue(allIdTypeImageValidLiveData); |
|
||||
|
|
||||
|
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Bitmap>> getAdditionalIdBackTypeImageLiveData() { |
|
||||
return additionalIdBackTypeImageLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAdditionalIdBackTypeImageLiveData(FormInputStateDTO<Bitmap> additionalIdBackTypeImageLiveData) { |
|
||||
this.additionalIdBackTypeImageLiveData.postValue(additionalIdBackTypeImageLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Boolean>> getAdditionalIdBackTypeImageIsLoadingLiveData() { |
|
||||
return additionalIdBackTypeImageIsLoadingLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAdditionalIdBackTypeImageIsLoadingLiveData(FormInputStateDTO<Boolean> additionalIdBackTypeImageIsLoadingLiveData) { |
|
||||
this.additionalIdBackTypeImageIsLoadingLiveData.postValue(additionalIdBackTypeImageIsLoadingLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<String>> getAdditionalIdBackTypeImageLabelLiveData() { |
|
||||
return additionalIdBackTypeImageLabelLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAdditionalIdBackTypeImageLabelLiveData(FormInputStateDTO<String> additionalIdBackTypeImageLabelLiveData) { |
|
||||
this.additionalIdBackTypeImageLabelLiveData.postValue(additionalIdBackTypeImageLabelLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Bitmap>> getAdditionalIdTypeImageLiveData() { |
|
||||
return additionalIdTypeImageLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAdditionalIdTypeImageLiveData(FormInputStateDTO<Bitmap> additionalIdTypeImageLiveData) { |
|
||||
this.additionalIdTypeImageLiveData.postValue(additionalIdTypeImageLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Boolean>> getAdditionalIdTypeImageIsLoadingLiveData() { |
|
||||
return additionalIdTypeImageIsLoadingLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAdditionalIdTypeImageIsLoadingLiveData(FormInputStateDTO<Boolean> additionalIdTypeImageIsLoadingLiveData) { |
|
||||
this.additionalIdTypeImageIsLoadingLiveData.postValue(additionalIdTypeImageIsLoadingLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<String>> getAdditionalIdTypeImageLabelLiveData() { |
|
||||
return additionalIdTypeImageLabelLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAdditionalIdTypeImageLabelLiveData(FormInputStateDTO<String> additionalIdTypeImageLabelLiveData) { |
|
||||
this.additionalIdTypeImageLabelLiveData.postValue(additionalIdTypeImageLabelLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Bitmap>> getFaceImageLiveData() { |
|
||||
return faceImageLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setFaceImageLiveData(FormInputStateDTO<Bitmap> faceImageLiveData) { |
|
||||
this.faceImageLiveData.postValue(faceImageLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<Boolean>> getFaceImageIsLoadingLiveData() { |
|
||||
return faceImageIsLoadingLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setFaceImageIsLoadingLiveData(FormInputStateDTO<Boolean> faceImageIsLoadingLiveData) { |
|
||||
this.faceImageIsLoadingLiveData.postValue(faceImageIsLoadingLiveData); |
|
||||
} |
|
||||
|
|
||||
public LiveData<FormInputStateDTO<String>> getFaceImageLabelLiveData() { |
|
||||
return faceImageLabelLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setFaceImageLabelLiveData(FormInputStateDTO<String> faceImageLabelLiveData) { |
|
||||
this.faceImageLabelLiveData.postValue(faceImageLabelLiveData); |
|
||||
} |
|
||||
|
|
||||
public static class KYCIDTypeViewBindings { |
|
||||
private Observable<Boolean> facePictureNewImageRequestObservable; |
|
||||
private Observable<Boolean> idTypeFrontDocImageLoadedResultObservable; |
|
||||
private Observable<Boolean> idTypeBackDocImageLoadedResultObservable; |
|
||||
private Observable<Boolean> idTypeSideDocImageLoadedResultObservable; |
|
||||
private Observable<Boolean> additionalidTypeDocImageLoadedResultObservable; |
|
||||
private Observable<Boolean> additionalidBackTypeDocImageLoadedResultObservable; |
|
||||
|
|
||||
public KYCIDTypeViewBindings( |
|
||||
Observable<Boolean> facePictureNewImageRequestObservable, |
|
||||
Observable<Boolean> idTypeFrontDocNewImageRequestObservable, |
|
||||
Observable<Boolean> idTypeBackDocNewImageRequestObservable, |
|
||||
Observable<Boolean> idTypeSideDocNewImageRequestObservable, |
|
||||
Observable<Boolean> additionalidTypeDocImageLoadedResultObservable, |
|
||||
Observable<Boolean> additionalidBackTypeDocImageLoadedResultObservable |
|
||||
|
|
||||
) { |
|
||||
this.idTypeFrontDocImageLoadedResultObservable = idTypeFrontDocNewImageRequestObservable; |
|
||||
this.idTypeBackDocImageLoadedResultObservable = idTypeBackDocNewImageRequestObservable; |
|
||||
this.idTypeSideDocImageLoadedResultObservable = idTypeSideDocNewImageRequestObservable; |
|
||||
this.facePictureNewImageRequestObservable = facePictureNewImageRequestObservable; |
|
||||
this.additionalidTypeDocImageLoadedResultObservable = additionalidTypeDocImageLoadedResultObservable; |
|
||||
this.additionalidBackTypeDocImageLoadedResultObservable = additionalidBackTypeDocImageLoadedResultObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<Boolean> getIdTypeFrontDocImageLoadedResultObservable() { |
|
||||
return idTypeFrontDocImageLoadedResultObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<Boolean> getIdTypeBackDocImageLoadedResultObservable() { |
|
||||
return idTypeBackDocImageLoadedResultObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<Boolean> getIdTypeSideDocImageLoadedResultObservable() { |
|
||||
return idTypeSideDocImageLoadedResultObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<Boolean> getFacePictureNewImageRequestObservable() { |
|
||||
return facePictureNewImageRequestObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<Boolean> getAdditionalidTypeDocImageLoadedResultObservable() { |
|
||||
return additionalidTypeDocImageLoadedResultObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<Boolean> getAdditionalidBackTypeDocImageLoadedResultObservable() { |
|
||||
return additionalidBackTypeDocImageLoadedResultObservable; |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
|
|
||||
} |
|
@ -0,0 +1,52 @@ |
|||||
|
package com.remit.jmecustomer.features.newkyc.newCustomer.view.choose |
||||
|
|
||||
|
import android.os.Bundle |
||||
|
import android.view.LayoutInflater |
||||
|
import android.view.View |
||||
|
import android.view.ViewGroup |
||||
|
import androidx.lifecycle.ViewModelProvider |
||||
|
import androidx.recyclerview.widget.LinearLayoutManager |
||||
|
import com.remit.jmecustomer.base.BaseFragment |
||||
|
import com.remit.jmecustomer.databinding.FragmentChooseKycBinding |
||||
|
import com.remit.jmecustomer.features.kyc.newCustomer.model.kycSetting.Option |
||||
|
import com.remit.jmecustomer.features.kyc.newCustomer.presenter.KYCV3ViewModel |
||||
|
import com.remit.jmecustomer.features.kyc.newCustomer.view.adapter.KycTypeAdapter |
||||
|
|
||||
|
class ChooseKycFragment(private var options: List<Option>? = null) : BaseFragment() { |
||||
|
|
||||
|
private var _binding: FragmentChooseKycBinding? = null |
||||
|
private val binding get() = _binding!! |
||||
|
private var kycv3ViewModel: KYCV3ViewModel? = null |
||||
|
|
||||
|
override fun onCreateView( |
||||
|
inflater: LayoutInflater, |
||||
|
container: ViewGroup?, |
||||
|
savedInstanceState: Bundle? |
||||
|
): View? { |
||||
|
_binding = FragmentChooseKycBinding.inflate(inflater, container, false) |
||||
|
init() |
||||
|
return binding.root |
||||
|
} |
||||
|
|
||||
|
fun onFragmentedSelected() {} |
||||
|
|
||||
|
fun init() { |
||||
|
val layoutManagerVertical = LinearLayoutManager(requireActivity()) |
||||
|
binding.rvChooseKyc.layoutManager = layoutManagerVertical |
||||
|
kycv3ViewModel = ViewModelProvider(requireActivity())[KYCV3ViewModel::class.java] |
||||
|
val adapter = KycTypeAdapter(options!!) |
||||
|
binding.rvChooseKyc.adapter = adapter |
||||
|
adapter.setOnItemClickListener(object : KycTypeAdapter.ItemClickListener{ |
||||
|
override fun onItemClicked(option: Option) { |
||||
|
kycv3ViewModel?.setSelectedOption(option) |
||||
|
} |
||||
|
|
||||
|
}) |
||||
|
|
||||
|
binding.btnSubmit1.setOnClickListener { |
||||
|
kycv3ViewModel?.redirectToInformation() |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
|
||||
|
} |
@ -1,211 +0,0 @@ |
|||||
package com.remit.jmecustomer.features.newkyc.newCustomer.view.personal; |
|
||||
|
|
||||
import androidx.lifecycle.MutableLiveData; |
|
||||
|
|
||||
import com.remit.jmecustomer.common.model.FormInputStateDTO; |
|
||||
import com.remit.jmecustomer.features.newkyc.newCustomer.model.IDTextDTO; |
|
||||
|
|
||||
import io.reactivex.Observable; |
|
||||
|
|
||||
|
|
||||
public class CustomerDetailViewLiveData { |
|
||||
|
|
||||
private MutableLiveData<FormInputStateDTO<String>> employerNameLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<IDTextDTO>> occupationsLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> monthlyIncomeLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> mobileNumberLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<IDTextDTO>> businessTypeLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<String>> addressLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<IDTextDTO>> idTypeLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<IDTextDTO>> additionalIdTypeLiveData; |
|
||||
private MutableLiveData<FormInputStateDTO<IDTextDTO>> purposeOfRegistrationLiveData; |
|
||||
private MutableLiveData<Boolean> allFieldsValid; |
|
||||
|
|
||||
public CustomerDetailViewLiveData() { |
|
||||
employerNameLiveData = new MutableLiveData<>(); |
|
||||
occupationsLiveData = new MutableLiveData<>(); |
|
||||
monthlyIncomeLiveData = new MutableLiveData<>(); |
|
||||
mobileNumberLiveData = new MutableLiveData<>(); |
|
||||
businessTypeLiveData = new MutableLiveData<>(); |
|
||||
addressLiveData = new MutableLiveData<>(); |
|
||||
idTypeLiveData = new MutableLiveData<>(); |
|
||||
additionalIdTypeLiveData = new MutableLiveData<>(); |
|
||||
purposeOfRegistrationLiveData = new MutableLiveData<>(); |
|
||||
allFieldsValid = new MutableLiveData<>(); |
|
||||
} |
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<String>> getEmployerNameLiveData() { |
|
||||
return employerNameLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setEmployerNameLiveData(MutableLiveData<FormInputStateDTO<String>> employerNameLiveData) { |
|
||||
this.employerNameLiveData = employerNameLiveData; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<IDTextDTO>> getOccupationsLiveData() { |
|
||||
return occupationsLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setOccupationsLiveData(MutableLiveData<FormInputStateDTO<IDTextDTO>> occupationsLiveData) { |
|
||||
this.occupationsLiveData = occupationsLiveData; |
|
||||
} |
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<IDTextDTO>> getPurposeOfRegistrationLiveData() { |
|
||||
return purposeOfRegistrationLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setPurposeOfRegistrationLiveData(MutableLiveData<FormInputStateDTO<IDTextDTO>> purposeOfRegistrationLiveData) { |
|
||||
this.purposeOfRegistrationLiveData = purposeOfRegistrationLiveData; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<String>> getMonthlyIncomeLiveData() { |
|
||||
return monthlyIncomeLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setMonthlyIncomeLiveData(MutableLiveData<FormInputStateDTO<String>> monthlyIncomeLiveData) { |
|
||||
this.monthlyIncomeLiveData = monthlyIncomeLiveData; |
|
||||
} |
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<String>> getMobileNumberLiveData() { |
|
||||
return mobileNumberLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setMobileNumberLiveData(MutableLiveData<FormInputStateDTO<String>> mobileNumberLiveData) { |
|
||||
this.mobileNumberLiveData = mobileNumberLiveData; |
|
||||
} |
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<IDTextDTO>> getBusinessTypeLiveData() { |
|
||||
return businessTypeLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setBusinessTypeLiveData(MutableLiveData<FormInputStateDTO<IDTextDTO>> businessTypeLiveData) { |
|
||||
this.businessTypeLiveData = businessTypeLiveData; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<String>> getAddressLiveData() { |
|
||||
return addressLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAddressLiveData(MutableLiveData<FormInputStateDTO<String>> addressLiveData) { |
|
||||
this.addressLiveData = addressLiveData; |
|
||||
} |
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<IDTextDTO>> getIdTypeLiveData() { |
|
||||
return idTypeLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setIdTypeLiveData(MutableLiveData<FormInputStateDTO<IDTextDTO>> idTypeLiveData) { |
|
||||
this.idTypeLiveData = idTypeLiveData; |
|
||||
} |
|
||||
|
|
||||
public MutableLiveData<FormInputStateDTO<IDTextDTO>> getAdditionalIdTypeLiveData() { |
|
||||
return additionalIdTypeLiveData; |
|
||||
} |
|
||||
|
|
||||
public void setAdditionalIdTypeLiveData(MutableLiveData<FormInputStateDTO<IDTextDTO>> additionalIdTypeLiveData) { |
|
||||
this.additionalIdTypeLiveData = additionalIdTypeLiveData; |
|
||||
} |
|
||||
|
|
||||
public MutableLiveData<Boolean> getAllFieldsValidLiveData() { |
|
||||
return allFieldsValid; |
|
||||
} |
|
||||
|
|
||||
public static class CustomerDetailViewBinding { |
|
||||
private Observable<CharSequence> employerNameObservable; |
|
||||
private Observable<CharSequence> monthlyIncomeObservable; |
|
||||
private Observable<CharSequence> mobileNumberObservable; |
|
||||
private Observable<IDTextDTO> businessTypeObservable; |
|
||||
private Observable<CharSequence> addressObservable; |
|
||||
private Observable<IDTextDTO> idTypeObservable; |
|
||||
private Observable<IDTextDTO> additionalIdTypeObservable; |
|
||||
private Observable<IDTextDTO> purposeOfRegistrationObservable; |
|
||||
private Observable<IDTextDTO> occupationObservable; |
|
||||
|
|
||||
public CustomerDetailViewBinding( |
|
||||
Observable<CharSequence> employerNameObservable, |
|
||||
Observable<IDTextDTO> occupationObservable, |
|
||||
Observable<CharSequence> monthlyIncomeObservable, |
|
||||
Observable<CharSequence> mobileNumberObservable, |
|
||||
Observable<IDTextDTO> businessTypeObservable, |
|
||||
Observable<CharSequence> addressObservable, |
|
||||
Observable<IDTextDTO> idTypeObservable, |
|
||||
Observable<IDTextDTO> additionalIdTypeObservable, |
|
||||
Observable<IDTextDTO> purposeOfRegistrationObservable |
|
||||
) { |
|
||||
this.employerNameObservable = employerNameObservable; |
|
||||
this.occupationObservable = occupationObservable; |
|
||||
this.monthlyIncomeObservable = monthlyIncomeObservable; |
|
||||
this.mobileNumberObservable = mobileNumberObservable; |
|
||||
this.businessTypeObservable = businessTypeObservable; |
|
||||
this.addressObservable = addressObservable; |
|
||||
this.idTypeObservable = idTypeObservable; |
|
||||
this.additionalIdTypeObservable = additionalIdTypeObservable; |
|
||||
this.purposeOfRegistrationObservable = purposeOfRegistrationObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<CharSequence> getEmployerNameObservable() { |
|
||||
return employerNameObservable; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
public Observable<CharSequence> getMonthlyIncomeObservable() { |
|
||||
return monthlyIncomeObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<CharSequence> getMobileNumberObservable() { |
|
||||
return mobileNumberObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<IDTextDTO> getBusinessTypeObservable() { |
|
||||
if(businessTypeObservable!=null){ |
|
||||
return businessTypeObservable; |
|
||||
}else{ |
|
||||
return Observable.empty(); |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
public Observable<IDTextDTO> getPurposeOfRegistrationObservable() { |
|
||||
if(purposeOfRegistrationObservable!=null){ |
|
||||
return purposeOfRegistrationObservable; |
|
||||
}else{ |
|
||||
return Observable.empty(); |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
public Observable<CharSequence> getAddressObservable() { |
|
||||
return addressObservable; |
|
||||
} |
|
||||
|
|
||||
public Observable<IDTextDTO> getIdTypeObservable() { |
|
||||
if(idTypeObservable!=null){ |
|
||||
return idTypeObservable; |
|
||||
}else{ |
|
||||
return Observable.empty(); |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
public Observable<IDTextDTO> getAdditionalIdTypeObservable() { |
|
||||
|
|
||||
if(additionalIdTypeObservable!=null){ |
|
||||
return additionalIdTypeObservable; |
|
||||
}else{ |
|
||||
return Observable.empty(); |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
public Observable<IDTextDTO> getOccupationObservable() { |
|
||||
if(occupationObservable!=null ){ |
|
||||
return occupationObservable; |
|
||||
}else{ |
|
||||
return Observable.empty(); |
|
||||
|
|
||||
} |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
} |
|
@ -0,0 +1,27 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
xmlns:tools="http://schemas.android.com/tools" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="match_parent" |
||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"> |
||||
|
|
||||
|
<androidx.recyclerview.widget.RecyclerView |
||||
|
android:id="@+id/rv_choose_kyc" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="match_parent" |
||||
|
app:layout_constraintStart_toStartOf="parent" |
||||
|
app:layout_constraintTop_toTopOf="parent" /> |
||||
|
|
||||
|
<com.remit.jmecustomer.common.customwidgets.GmeButton |
||||
|
app:layout_constraintBottom_toBottomOf="parent" |
||||
|
app:layout_constraintStart_toStartOf="parent" |
||||
|
android:layout_marginHorizontal="@dimen/_10sdp" |
||||
|
android:id="@+id/btn_submit1" |
||||
|
style="@style/MButton" |
||||
|
android:layout_gravity="center" |
||||
|
android:layout_marginTop="@dimen/_15sdp" |
||||
|
android:layout_marginBottom="@dimen/_15sdp" |
||||
|
android:enabled="true" |
||||
|
android:text="@string/next_text" /> |
||||
|
|
||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
@ -0,0 +1,93 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginHorizontal="@dimen/_10sdp" |
||||
|
android:layout_marginBottom="@dimen/_5sdp" |
||||
|
android:paddingVertical="@dimen/_15sdp"> |
||||
|
|
||||
|
<RelativeLayout |
||||
|
android:id="@+id/rv_initials" |
||||
|
android:layout_width="@dimen/_25sdp" |
||||
|
android:layout_height="@dimen/_25sdp" |
||||
|
app:layout_constraintBottom_toBottomOf="parent" |
||||
|
app:layout_constraintHorizontal_weight="0.2" |
||||
|
app:layout_constraintStart_toStartOf="parent" |
||||
|
app:layout_constraintTop_toTopOf="parent"> |
||||
|
|
||||
|
<RadioButton |
||||
|
android:id="@+id/rd_btn" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_centerInParent="true" |
||||
|
android:checked="true" |
||||
|
android:clickable="false" /> |
||||
|
|
||||
|
</RelativeLayout> |
||||
|
|
||||
|
<LinearLayout |
||||
|
android:orientation="horizontal" |
||||
|
android:id="@+id/const_row" |
||||
|
android:layout_width="0dp" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginStart="@dimen/_10sdp" |
||||
|
android:background="@drawable/light_blue_background" |
||||
|
android:paddingTop="@dimen/_10sdp" |
||||
|
android:paddingBottom="@dimen/_10sdp" |
||||
|
app:layout_constraintEnd_toEndOf="parent" |
||||
|
app:layout_constraintStart_toEndOf="@+id/rv_initials" |
||||
|
app:layout_constraintTop_toTopOf="parent"> |
||||
|
|
||||
|
<androidx.constraintlayout.widget.ConstraintLayout |
||||
|
android:layout_marginRight="@dimen/_12sdp" |
||||
|
android:layout_weight="1" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content"> |
||||
|
|
||||
|
<ImageView |
||||
|
android:visibility="gone" |
||||
|
android:id="@+id/iv_icon" |
||||
|
android:layout_width="@dimen/_20sdp" |
||||
|
android:layout_height="@dimen/_20sdp" |
||||
|
android:layout_marginStart="@dimen/_8sdp" |
||||
|
app:layout_constraintStart_toStartOf="parent" |
||||
|
app:layout_constraintTop_toTopOf="parent" /> |
||||
|
|
||||
|
<TextView |
||||
|
android:id="@+id/tv_name" |
||||
|
style="@style/TextStyle.VolteSemiBold14" |
||||
|
android:layout_width="0dp" |
||||
|
android:paddingRight="@dimen/_25sdp" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginLeft="@dimen/_8sdp" |
||||
|
android:text="Rajesh Sharma" |
||||
|
android:textColor="@color/black_opacity_87" |
||||
|
app:layout_constraintStart_toEndOf="@id/iv_icon" |
||||
|
app:layout_constraintTop_toTopOf="parent" /> |
||||
|
|
||||
|
<TextView |
||||
|
android:id="@+id/tv_account_number" |
||||
|
style="@style/TextStyle.VolteSemiBold12" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginLeft="@dimen/_8sdp" |
||||
|
android:textColor="@color/black_opacity_50" |
||||
|
app:layout_constraintStart_toEndOf="@id/iv_icon" |
||||
|
app:layout_constraintTop_toBottomOf="@id/tv_name" /> |
||||
|
|
||||
|
<TextView |
||||
|
android:id="@+id/tv_branch" |
||||
|
style="@style/TextStyle.VolteSemiBold12" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginLeft="@dimen/_8sdp" |
||||
|
android:textColor="@color/black_opacity_50" |
||||
|
app:layout_constraintStart_toEndOf="@id/iv_icon" |
||||
|
app:layout_constraintTop_toBottomOf="@id/tv_account_number" /> |
||||
|
|
||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
||||
|
|
||||
|
|
||||
|
</LinearLayout> |
||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue