Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Answering to my own question just to help those face problem like me. I have found the solution although its not a good one but worked for me and changing it to different <code>Views</code> can help in different way to show text or something else. The problem was my code (adapter) was replacing the parsed string on <code>xml</code> <code>TextViews</code> so i put another <code>TextView</code> above each item came from list.</p> <blockquote> <p>Here is the XML i have made changes</p> </blockquote> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" &gt; &lt;TextView android:id="@+id/id" android:layout_width="fill_parent" android:layout_height="wrap_content" android:visibility="gone" /&gt; &lt;!--This is to show the label "Name" above the listitem (whatever name) come from java code parsed, json --&gt; &lt;TextView android:id="@+id/txtshowname" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Name" android:textAppearance="?android:attr/textAppearanceMedium" /&gt; &lt;!-- This TextView will contain the listitems loaded from server --&gt; &lt;TextView android:id="@+id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingTop="6dip" android:paddingLeft="6dip" android:visibility="visible" android:textColor="@android:color/white" android:textSize="17sp" android:textStyle="bold" /&gt; &lt;!--This is to show the label "Gender" above the listitem (whatever gender) come from java code parsed, json --&gt; &lt;TextView android:id="@+id/txtshowGender" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Gender" android:textAppearance="?android:attr/textAppearanceMedium" /&gt; &lt;TextView android:id="@+id/gender" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="6dip" android:paddingTop="6dip" android:textColor="#FF00FF" android:textSize="17sp" android:textStyle="bold" android:visibility="visible" /&gt; &lt;/LinearLayout&gt; </code></pre> <p>And also this little change worked for me</p> <pre><code>map.put(TAG_ID, id); map.put(TAG_NAME, "Name" + name); map.put(TAG_GENDER, "Gender" + gender); productsList.add(map); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload