Preyea Regmi
5 years ago
28 changed files with 861 additions and 108 deletions
-
BIN.idea/caches/build_file_checksums.ser
-
4app/build.gradle
-
4app/src/dev/google-services.json
-
44app/src/main/java/com/gmeremit/online/gmeremittance_native/exchange_rate/model/datav2/ExchangeCalculationModel.java
-
3app/src/main/java/com/gmeremit/online/gmeremittance_native/resendV2/presenter/resend/ReSendMoneyV2Presenter.java
-
2app/src/main/java/com/gmeremit/online/gmeremittance_native/resendV2/presenter/resend/ReSendMoneyV2PresenterInterface.java
-
87app/src/main/java/com/gmeremit/online/gmeremittance_native/resendV2/view/amountdetail/ResendMoneyAmountDetailFragment.java
-
34app/src/main/java/com/gmeremit/online/gmeremittance_native/rewardV2/adapter/rewardlisting/OrderListingRvAdapter.java
-
31app/src/main/java/com/gmeremit/online/gmeremittance_native/rewardV2/adapter/rewardlisting/RewardListingRvAdapter.java
-
13app/src/main/java/com/gmeremit/online/gmeremittance_native/rewardV2/presenter/rewardlisting/RewardListingV2Presenter.java
-
6app/src/main/java/com/gmeremit/online/gmeremittance_native/rewardV2/presenter/rewardlisting/RewardListingV2PresenterInterface.java
-
12app/src/main/java/com/gmeremit/online/gmeremittance_native/rewardV2/view/RewardParentActionListener.java
-
66app/src/main/java/com/gmeremit/online/gmeremittance_native/rewardV2/view/rewardlisting/OrderHistoryFragment.java
-
61app/src/main/java/com/gmeremit/online/gmeremittance_native/rewardV2/view/rewardlisting/RewardListFragment.java
-
13app/src/main/java/com/gmeremit/online/gmeremittance_native/rewardV2/view/rewardlisting/RewardListingV2Activity.java
-
8app/src/main/java/com/gmeremit/online/gmeremittance_native/sendmoneyV2/model/SendMoneyAPIRequestBody.java
-
8app/src/main/java/com/gmeremit/online/gmeremittance_native/sendmoneyV2/presenter/SendMoneyV2Presenter.java
-
2app/src/main/java/com/gmeremit/online/gmeremittance_native/sendmoneyV2/presenter/SendMoneyV2PresenterInterface.java
-
143app/src/main/java/com/gmeremit/online/gmeremittance_native/sendmoneyV2/view/amountdetail/AmountDetailSendMoneyFragment.java
-
2app/src/main/res/drawable/ic_rounded_background_coloured.xml
-
4app/src/main/res/layout/dialog_fingerprint_auth_prompt.xml
-
105app/src/main/res/layout/fragment_amount_detail_resend_money_v2.xml
-
82app/src/main/res/layout/fragment_amount_detail_send_money_v2.xml
-
64app/src/main/res/layout/fragment_order_history.xml
-
1app/src/main/res/layout/fragment_reward_list.xml
-
1app/src/main/res/layout/fragment_splash_one.xml
-
95app/src/main/res/layout/order_list_item.xml
-
74app/src/main/res/layout/reward_list_item.xml
@ -0,0 +1,12 @@ |
|||||
|
package com.gmeremit.online.gmeremittance_native.rewardV2.view; |
||||
|
|
||||
|
import com.gmeremit.online.gmeremittance_native.rewardV2.presenter.rewardlisting.RewardListingV2PresenterInterface; |
||||
|
|
||||
|
import io.reactivex.Observable; |
||||
|
|
||||
|
public interface RewardParentActionListener { |
||||
|
|
||||
|
|
||||
|
RewardListingV2PresenterInterface getPresenter(); |
||||
|
|
||||
|
} |
@ -1,6 +1,93 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||
<android.support.constraint.ConstraintLayout |
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" |
|
||||
android:layout_height="match_parent"> |
|
||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
|
xmlns:txtViewfont="http://schemas.android.com/tools" |
||||
|
android:orientation="vertical" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_marginLeft="10dp" |
||||
|
android:layout_marginRight="10dp" |
||||
|
android:background="@drawable/ic_rounded_background_brightgray" |
||||
|
android:padding="6dp" |
||||
|
android:layout_marginTop="5dp" |
||||
|
android:layout_marginBottom="5dp" |
||||
|
android:layout_height="wrap_content"> |
||||
|
<LinearLayout |
||||
|
android:padding="5dp" |
||||
|
android:orientation="horizontal" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content"> |
||||
|
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
||||
|
android:id="@+id/tv_date" |
||||
|
android:layout_width="0dp" |
||||
|
android:layout_weight=".5" |
||||
|
android:layout_height="match_parent" |
||||
|
app:txtfontName="@string/regular" |
||||
|
android:gravity="left" |
||||
|
android:text="" |
||||
|
android:textColor="@color/darkgray" |
||||
|
android:textSize="12sp" /> |
||||
|
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
||||
|
android:id="@+id/tv_gme_order_id" |
||||
|
android:layout_width="0dp" |
||||
|
android:layout_weight=".5" |
||||
|
android:layout_height="match_parent" |
||||
|
android:gravity="right" |
||||
|
android:text="" |
||||
|
app:txtfontName="@string/regular" |
||||
|
android:textColor="@color/darkgray" |
||||
|
android:textSize="12sp" /> |
||||
|
</LinearLayout> |
||||
|
<LinearLayout |
||||
|
android:padding="5dp" |
||||
|
android:orientation="horizontal" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content"> |
||||
|
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
||||
|
android:id="@+id/tv_order_name" |
||||
|
android:layout_width="0dp" |
||||
|
app:txtfontName="@string/bold" |
||||
|
android:layout_weight="1" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:gravity="left" |
||||
|
android:text="" |
||||
|
android:textColor="@color/darkgray" |
||||
|
android:textSize="17sp" /> |
||||
|
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
||||
|
android:id="@+id/tv_branch_name" |
||||
|
android:layout_width="0dp" |
||||
|
android:layout_weight="1" |
||||
|
android:layout_height="match_parent" |
||||
|
android:gravity="right" |
||||
|
app:txtfontName="@string/semibold" |
||||
|
android:text="" |
||||
|
android:textColor="@color/colorPrimary" |
||||
|
android:textSize="17sp" /> |
||||
|
</LinearLayout> |
||||
|
<LinearLayout |
||||
|
android:padding="5dp" |
||||
|
android:orientation="horizontal" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content"> |
||||
|
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
||||
|
android:id="@+id/tv_order_point" |
||||
|
android:layout_width="0dp" |
||||
|
android:layout_weight="1" |
||||
|
android:layout_height="match_parent" |
||||
|
android:gravity="left" |
||||
|
android:text="" |
||||
|
android:textColor="@color/darkgray" |
||||
|
android:textSize="12sp" /> |
||||
|
|
||||
</android.support.constraint.ConstraintLayout> |
|
||||
|
<TextView |
||||
|
android:id="@+id/tv_status" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:text="Unpaid" |
||||
|
txtViewfont:txtfontName="@string/semibold" |
||||
|
android:textColor="@color/white" |
||||
|
android:textSize="12sp" /> |
||||
|
</LinearLayout> |
||||
|
|
||||
|
|
||||
|
|
||||
|
</LinearLayout> |
@ -1,6 +1,74 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||
<android.support.constraint.ConstraintLayout |
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" |
|
||||
android:layout_height="match_parent"> |
|
||||
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
|
xmlns:tools="http://schemas.android.com/tools" |
||||
|
android:layout_width="match_parent" |
||||
|
android:background="@drawable/ic_rounded_white_bg_with_inset" |
||||
|
android:layout_height="wrap_content"> |
||||
|
|
||||
|
|
||||
|
<ImageView |
||||
|
app:srcCompat="@drawable/vd_fingerprint_on" |
||||
|
android:id="@+id/rewardItemImage" |
||||
|
android:layout_width="150dp" |
||||
|
android:layout_height="150dp" |
||||
|
android:layout_marginStart="8dp" |
||||
|
android:layout_marginTop="8dp" |
||||
|
android:layout_marginEnd="8dp" |
||||
|
app:layout_constraintBottom_toTopOf="@+id/rewardItemTitle" |
||||
|
app:layout_constraintEnd_toEndOf="parent" |
||||
|
app:layout_constraintStart_toStartOf="parent" |
||||
|
app:layout_constraintTop_toTopOf="parent" |
||||
|
app:layout_constraintVertical_bias="0.57" /> |
||||
|
|
||||
|
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
||||
|
android:id="@+id/rewardItemTitle" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:text="Sunglasses" |
||||
|
android:gravity="center" |
||||
|
app:layout_constraintBottom_toTopOf="@+id/rewardItemPoint" |
||||
|
app:layout_constraintEnd_toEndOf="@+id/rewardItemImage" |
||||
|
app:layout_constraintStart_toStartOf="@+id/rewardItemImage" |
||||
|
app:layout_constraintTop_toBottomOf="@+id/rewardItemImage" /> |
||||
|
|
||||
|
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeTextView |
||||
|
android:id="@+id/rewardItemPoint" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:text="5000 points" |
||||
|
android:gravity="center" |
||||
|
app:layout_constraintBottom_toTopOf="@+id/view5" |
||||
|
app:layout_constraintEnd_toEndOf="@+id/rewardItemTitle" |
||||
|
app:layout_constraintStart_toStartOf="@+id/rewardItemTitle" |
||||
|
app:layout_constraintTop_toBottomOf="@+id/rewardItemTitle" /> |
||||
|
|
||||
|
<View |
||||
|
android:id="@+id/view5" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="1dp" |
||||
|
app:layout_constraintBottom_toTopOf="@+id/redeemButton" |
||||
|
app:layout_constraintEnd_toEndOf="@+id/rewardItemPoint" |
||||
|
app:layout_constraintStart_toStartOf="@+id/rewardItemPoint" |
||||
|
app:layout_constraintTop_toBottomOf="@+id/rewardItemPoint" /> |
||||
|
|
||||
|
<com.gmeremit.online.gmeremittance_native.customwidgets.GmeButton |
||||
|
android:id="@+id/redeemButton" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="50dp" |
||||
|
android:layout_gravity="center" |
||||
|
android:layout_marginTop="8dp" |
||||
|
android:layout_marginBottom="8dp" |
||||
|
android:background="@drawable/ic_rounded_background_coloured" |
||||
|
android:paddingStart="20dp" |
||||
|
android:paddingEnd="20dp" |
||||
|
android:text="Redeem" |
||||
|
android:textAllCaps="false" |
||||
|
android:textColor="@color/white" |
||||
|
android:textSize="18sp" |
||||
|
app:layout_constraintBottom_toTopOf="@+id/rewardItemImage" |
||||
|
app:layout_constraintEnd_toEndOf="@+id/view5" |
||||
|
app:layout_constraintStart_toStartOf="@+id/view5" |
||||
|
app:layout_constraintTop_toBottomOf="@+id/view5" /> |
||||
|
|
||||
</android.support.constraint.ConstraintLayout> |
</android.support.constraint.ConstraintLayout> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue