RecyclerView Design Changing fetch from array












0















The Design of the screen is changing if I fetch the data from an array in a RecyclerView but when the data is defined static (in XML) the design is correct, what should I do to keep the designed as it is in the preview?



I am using Fragments and recyclerView to inflate the data from an array



enter image description here



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:id="@+id/rentInvoice"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="25dp"
android:layout_marginRight="25dp"
android:layout_marginBottom="20dp"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<TextView
android:id="@+id/paymentsDate"
android:textStyle="bold"
android:textColor="@color/colorFontHeading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/date"
android:textSize="18sp" />

<TextView
android:id="@+id/paymentsReceiptNumber"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/reciept_number" />
<TextView
android:id="@+id/paymentsData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="PaymentData" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="end">


<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000"

/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:src="@drawable/ic_navigate_next_black_24dp" />
</LinearLayout>

</LinearLayout>

</LinearLayout>





Above is the XML code for Layout

Below is the XML code where RecyclerView is Located



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
tools:context=".Fragments.PaymentsFragment"
android:orientation="vertical">

<SearchView

android:queryHint="@string/search"
android:layout_margin="15dp"
android:id="@+id/searchViewPayments"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/search_view_rounded"
android:layoutDirection="rtl"/>


<LinearLayout
android:id="@+id/recyclerViewLayout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView

android:id="@+id/paymentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent">


</android.support.v7.widget.RecyclerView>



</LinearLayout>











share|improve this question




















  • 1





    Share your XML code

    – Vir Rajpurohit
    Sep 11 '18 at 4:26











  • i think you set your main/parent layout to wrapContent that why design issue was occur ,share you XML for better solution.

    – Arbaz.in
    Sep 11 '18 at 4:44











  • I have Added the XML code @VirRajpurohit

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 5:50











  • Share your xml where your RecyclerView is located.

    – Tepits
    Sep 11 '18 at 5:51













  • @Tepits Both RecyclerView and Layout XML code is added

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 5:58
















0















The Design of the screen is changing if I fetch the data from an array in a RecyclerView but when the data is defined static (in XML) the design is correct, what should I do to keep the designed as it is in the preview?



I am using Fragments and recyclerView to inflate the data from an array



enter image description here



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:id="@+id/rentInvoice"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="25dp"
android:layout_marginRight="25dp"
android:layout_marginBottom="20dp"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<TextView
android:id="@+id/paymentsDate"
android:textStyle="bold"
android:textColor="@color/colorFontHeading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/date"
android:textSize="18sp" />

<TextView
android:id="@+id/paymentsReceiptNumber"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/reciept_number" />
<TextView
android:id="@+id/paymentsData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="PaymentData" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="end">


<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000"

/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:src="@drawable/ic_navigate_next_black_24dp" />
</LinearLayout>

</LinearLayout>

</LinearLayout>





Above is the XML code for Layout

Below is the XML code where RecyclerView is Located



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
tools:context=".Fragments.PaymentsFragment"
android:orientation="vertical">

<SearchView

android:queryHint="@string/search"
android:layout_margin="15dp"
android:id="@+id/searchViewPayments"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/search_view_rounded"
android:layoutDirection="rtl"/>


<LinearLayout
android:id="@+id/recyclerViewLayout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView

android:id="@+id/paymentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent">


</android.support.v7.widget.RecyclerView>



</LinearLayout>











share|improve this question




















  • 1





    Share your XML code

    – Vir Rajpurohit
    Sep 11 '18 at 4:26











  • i think you set your main/parent layout to wrapContent that why design issue was occur ,share you XML for better solution.

    – Arbaz.in
    Sep 11 '18 at 4:44











  • I have Added the XML code @VirRajpurohit

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 5:50











  • Share your xml where your RecyclerView is located.

    – Tepits
    Sep 11 '18 at 5:51













  • @Tepits Both RecyclerView and Layout XML code is added

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 5:58














0












0








0








The Design of the screen is changing if I fetch the data from an array in a RecyclerView but when the data is defined static (in XML) the design is correct, what should I do to keep the designed as it is in the preview?



I am using Fragments and recyclerView to inflate the data from an array



enter image description here



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:id="@+id/rentInvoice"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="25dp"
android:layout_marginRight="25dp"
android:layout_marginBottom="20dp"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<TextView
android:id="@+id/paymentsDate"
android:textStyle="bold"
android:textColor="@color/colorFontHeading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/date"
android:textSize="18sp" />

<TextView
android:id="@+id/paymentsReceiptNumber"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/reciept_number" />
<TextView
android:id="@+id/paymentsData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="PaymentData" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="end">


<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000"

/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:src="@drawable/ic_navigate_next_black_24dp" />
</LinearLayout>

</LinearLayout>

</LinearLayout>





Above is the XML code for Layout

Below is the XML code where RecyclerView is Located



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
tools:context=".Fragments.PaymentsFragment"
android:orientation="vertical">

<SearchView

android:queryHint="@string/search"
android:layout_margin="15dp"
android:id="@+id/searchViewPayments"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/search_view_rounded"
android:layoutDirection="rtl"/>


<LinearLayout
android:id="@+id/recyclerViewLayout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView

android:id="@+id/paymentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent">


</android.support.v7.widget.RecyclerView>



</LinearLayout>











share|improve this question
















The Design of the screen is changing if I fetch the data from an array in a RecyclerView but when the data is defined static (in XML) the design is correct, what should I do to keep the designed as it is in the preview?



I am using Fragments and recyclerView to inflate the data from an array



enter image description here



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:id="@+id/rentInvoice"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="25dp"
android:layout_marginRight="25dp"
android:layout_marginBottom="20dp"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<TextView
android:id="@+id/paymentsDate"
android:textStyle="bold"
android:textColor="@color/colorFontHeading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/date"
android:textSize="18sp" />

<TextView
android:id="@+id/paymentsReceiptNumber"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/reciept_number" />
<TextView
android:id="@+id/paymentsData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="PaymentData" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="end">


<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000"

/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:src="@drawable/ic_navigate_next_black_24dp" />
</LinearLayout>

</LinearLayout>

</LinearLayout>





Above is the XML code for Layout

Below is the XML code where RecyclerView is Located



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
tools:context=".Fragments.PaymentsFragment"
android:orientation="vertical">

<SearchView

android:queryHint="@string/search"
android:layout_margin="15dp"
android:id="@+id/searchViewPayments"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/search_view_rounded"
android:layoutDirection="rtl"/>


<LinearLayout
android:id="@+id/recyclerViewLayout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView

android:id="@+id/paymentsRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent">


</android.support.v7.widget.RecyclerView>



</LinearLayout>








android android-layout android-studio android-recyclerview recyclerview-layout






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 6 '18 at 11:40







Rizwan Ahmed Shivalli

















asked Sep 11 '18 at 4:23









Rizwan Ahmed ShivalliRizwan Ahmed Shivalli

9311




9311








  • 1





    Share your XML code

    – Vir Rajpurohit
    Sep 11 '18 at 4:26











  • i think you set your main/parent layout to wrapContent that why design issue was occur ,share you XML for better solution.

    – Arbaz.in
    Sep 11 '18 at 4:44











  • I have Added the XML code @VirRajpurohit

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 5:50











  • Share your xml where your RecyclerView is located.

    – Tepits
    Sep 11 '18 at 5:51













  • @Tepits Both RecyclerView and Layout XML code is added

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 5:58














  • 1





    Share your XML code

    – Vir Rajpurohit
    Sep 11 '18 at 4:26











  • i think you set your main/parent layout to wrapContent that why design issue was occur ,share you XML for better solution.

    – Arbaz.in
    Sep 11 '18 at 4:44











  • I have Added the XML code @VirRajpurohit

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 5:50











  • Share your xml where your RecyclerView is located.

    – Tepits
    Sep 11 '18 at 5:51













  • @Tepits Both RecyclerView and Layout XML code is added

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 5:58








1




1





Share your XML code

– Vir Rajpurohit
Sep 11 '18 at 4:26





Share your XML code

– Vir Rajpurohit
Sep 11 '18 at 4:26













i think you set your main/parent layout to wrapContent that why design issue was occur ,share you XML for better solution.

– Arbaz.in
Sep 11 '18 at 4:44





i think you set your main/parent layout to wrapContent that why design issue was occur ,share you XML for better solution.

– Arbaz.in
Sep 11 '18 at 4:44













I have Added the XML code @VirRajpurohit

– Rizwan Ahmed Shivalli
Sep 11 '18 at 5:50





I have Added the XML code @VirRajpurohit

– Rizwan Ahmed Shivalli
Sep 11 '18 at 5:50













Share your xml where your RecyclerView is located.

– Tepits
Sep 11 '18 at 5:51







Share your xml where your RecyclerView is located.

– Tepits
Sep 11 '18 at 5:51















@Tepits Both RecyclerView and Layout XML code is added

– Rizwan Ahmed Shivalli
Sep 11 '18 at 5:58





@Tepits Both RecyclerView and Layout XML code is added

– Rizwan Ahmed Shivalli
Sep 11 '18 at 5:58












1 Answer
1






active

oldest

votes


















0














You can use RelativeLayout as parent if you want to achieve a most left and right layout, using alignParentEnd or alignParentStart. This should be your layout inside your LinearLayout tag with id rentInvoice:



<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

...

</LinearLayout>

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >

<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000" />

...

</LinearLayout>

</RelativeLayout>





share|improve this answer


























  • Worked like a charm, Thank you for your help

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 6:50











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52268617%2frecyclerview-design-changing-fetch-from-array%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You can use RelativeLayout as parent if you want to achieve a most left and right layout, using alignParentEnd or alignParentStart. This should be your layout inside your LinearLayout tag with id rentInvoice:



<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

...

</LinearLayout>

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >

<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000" />

...

</LinearLayout>

</RelativeLayout>





share|improve this answer


























  • Worked like a charm, Thank you for your help

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 6:50
















0














You can use RelativeLayout as parent if you want to achieve a most left and right layout, using alignParentEnd or alignParentStart. This should be your layout inside your LinearLayout tag with id rentInvoice:



<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

...

</LinearLayout>

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >

<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000" />

...

</LinearLayout>

</RelativeLayout>





share|improve this answer


























  • Worked like a charm, Thank you for your help

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 6:50














0












0








0







You can use RelativeLayout as parent if you want to achieve a most left and right layout, using alignParentEnd or alignParentStart. This should be your layout inside your LinearLayout tag with id rentInvoice:



<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

...

</LinearLayout>

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >

<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000" />

...

</LinearLayout>

</RelativeLayout>





share|improve this answer















You can use RelativeLayout as parent if you want to achieve a most left and right layout, using alignParentEnd or alignParentStart. This should be your layout inside your LinearLayout tag with id rentInvoice:



<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

...

</LinearLayout>

<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >

<TextView
android:id="@+id/paymentsAmount"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/rs_000000" />

...

</LinearLayout>

</RelativeLayout>






share|improve this answer














share|improve this answer



share|improve this answer








edited Sep 11 '18 at 6:25

























answered Sep 11 '18 at 6:05









TepitsTepits

354414




354414













  • Worked like a charm, Thank you for your help

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 6:50



















  • Worked like a charm, Thank you for your help

    – Rizwan Ahmed Shivalli
    Sep 11 '18 at 6:50

















Worked like a charm, Thank you for your help

– Rizwan Ahmed Shivalli
Sep 11 '18 at 6:50





Worked like a charm, Thank you for your help

– Rizwan Ahmed Shivalli
Sep 11 '18 at 6:50




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52268617%2frecyclerview-design-changing-fetch-from-array%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Contact image not getting when fetch all contact list from iPhone by CNContact

count number of partitions of a set with n elements into k subsets

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks