Browse Source

added updated code in adapter

PankajBranch
Hemant Khadase 2 years ago
parent
commit
b312de797e
2 changed files with 6 additions and 10 deletions
  1. +1
    -5
      app/src/main/java/com/nivesh/production/niveshfd/adapter/RecommendedBankListAdapter.kt
  2. +5
    -5
      app/src/main/res/layout/activity_nivesh_fd.xml

+ 1
- 5
app/src/main/java/com/nivesh/production/niveshfd/adapter/RecommendedBankListAdapter.kt View File

@ -13,11 +13,7 @@ class RecommendedBankListAdapter(
) : RecyclerView.Adapter<RecommendedBankListAdapter.MyViewHolder>() {
class MyViewHolder(view: View) : RecyclerView.ViewHolder(view) {
val txtYear: TextView
init {
txtYear = view.findViewById(R.id.txtYear)
}
val txtYear :TextView = view.findViewById(R.id.txtYear)
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MyViewHolder {


+ 5
- 5
app/src/main/res/layout/activity_nivesh_fd.xml View File

@ -9,7 +9,8 @@
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white">
android:layout_gravity="center_horizontal"
android:background="@color/greyColor4">
<LinearLayout
android:layout_width="match_parent"
@ -45,16 +46,15 @@
<LinearLayout
android:id="@+id/llSteps"
android:layout_width="match_parent"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/greyColor4"
android:layout_gravity="center_vertical"
android:orientation="horizontal"
android:paddingTop="@dimen/margin_10"
android:paddingBottom="@dimen/margin_10">
<ImageView
android:layout_marginStart="@dimen/margin_15"
android:id="@+id/stepOne"
android:layout_width="@dimen/margin_19"
android:layout_height="@dimen/margin_19"
@ -117,7 +117,7 @@
<LinearLayout
android:id="@+id/llStep4"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">


Loading…
Cancel
Save

Powered by TurnKey Linux.