android-listview Questions
8
Solved
I'm trying update a ListView with an entirely new ArrayList. For API 11 it works great using the addAll(...) method, but this is not available for earlier APIs. I can't figure out how to go about u...
Miltie asked 13/3, 2012 at 1:29
4
I'm loading an image from a server to a list view item using picasso like this:
public View getView(int position, View convertView, ViewGroup parent) {
LayoutInflater inflater = (LayoutInflater) ...
Daron asked 21/8, 2014 at 15:0
0
I have fragment in that contains the list view.In listview loaded with webview's for playing the video's.
playing the video's are success but if video is playing i am moved to another fragment vid...
Ponytail asked 5/1, 2016 at 8:7
4
Solved
I need to implement a ListView with triangular shaped items as shown in this image. The views that one adds to a ListView generally are rectangular in shape. Even in the documentation, a View is ...
Elated asked 2/1, 2016 at 11:47
4
Solved
I want to make screen with TextView on top (title)
a ListView in the middle
and buttons on the bottom.
How to place ListView that will fill entire space between top TextView and bottom Buttons and ...
Hormuz asked 31/8, 2011 at 17:37
7
i would like to implement a popup menu similar to google's play store as shown below.
so basically from what i understand, i'll need an activity and a layout for this activity with a listview de...
Aristocratic asked 3/9, 2013 at 9:32
1
Solved
I've just installed the FutureSimple library for Floating Action Buttons, and I think it's just beautiful. Although it doesn't contain the disappear on scroll logic, I love it.
However, I would lik...
Darladarlan asked 28/2, 2015 at 16:21
2
I am using following layout(header.xml) to add header in a listview,
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
and...
Glyceride asked 10/12, 2013 at 9:57
4
Here is a situation. I want to navigate from Fragment A-> B-> C.
In B Fragment there is listview. On item click I open the detail view C Fragment.
Ofcourse I used replace method and added addtoBa...
Porphyroid asked 23/7, 2013 at 12:53
4
I'm currently writing an Android app that uses ListView with headers. It works okay, but not really as I want. Every item in ListView has 1-2px separator at the top and bottom of it. So does the he...
Walczak asked 1/5, 2014 at 11:3
3
Solved
What is difference between getCount() and getChildCount() in ListView?
Bedim asked 20/4, 2012 at 8:33
4
I need to make layout that looks like this
There is header view (RelativeLayout), below is ViewPager Indicator and then ViewPager with pages (FragmentPagerAdapter) which contains ListView or...
Oe asked 3/1, 2014 at 15:24
3
Solved
So I have this problem I had before, and naturally I asked for help on here. Luksprog's answer was great because I had no idea about how ListView and GridView optimized itself with recycling Views....
Jury asked 14/8, 2012 at 3:54
1
Solved
I have this LinearLayout containing a ListView and a LinearLayout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:...
Sharenshargel asked 18/12, 2015 at 15:19
2
Solved
I want to use Activity extends ListActivity for PullToRefresh.But i have use CustomActionBar that's why using AppCompatActivity.How to solve this issue.Thanks in Advanced
public class CustomAction...
Psychro asked 17/12, 2015 at 6:44
3
Solved
I'm trying to create a RadioGroup within an Android layout where the child RadioButtons are stretched to evenly fill the entire width of the RadioGroup. However, I've encountered some unexpected be...
Timm asked 21/1, 2012 at 22:6
3
Solved
I have a listview having three fields , but I don't know how to save my listview in android and fetch it back when user open app and display it.
I want to show the data saved in listview and I hav...
Rimskykorsakov asked 14/12, 2015 at 4:50
3
I have a LinearLayout containing both a ListView and an EditText. When the On-Screen keyboard is launched by touching the EditText, the ListView resizes so that only the top few elements remain vis...
Alarice asked 29/11, 2011 at 0:22
2
In my Android project I am showing all images from web service(Url) to ListView for this purpose I have used Universal image loader. After loaded some images in List if I scrolled down then scrolle...
Pamalapamela asked 22/1, 2015 at 9:56
4
Solved
I need to create a custom ListPreference dialog so that I can add some header text (a TextView) above the List (ListView).
I've created MyListPreference class that extends ListPreference and overri...
Shae asked 25/6, 2013 at 13:22
2
Solved
I am able to play Youtube videos using cuePlaylist() but I also want to allow user to tap on any of the list item and then I want to refresh YoutubePlayerView with the video user just tapped
I am ...
Stocky asked 1/12, 2015 at 10:14
2
Solved
I am trying to implement the "swipe left to right to delete" gesture that is present for the notifications in Android ICS and above.
I have a listview in my application. I have the gesture detector...
Sosthina asked 25/2, 2013 at 2:22
3
Solved
I have a ListView inside a ScrollView.
How can I set the height of the ListView so that all the items in its adapter fit in it and it does not need to scroll.
Rhines asked 27/11, 2015 at 16:43
2
I have different colors for different lines in the ListView, by setting the color of textbox depending on the line number (in getView() of Adapter). Now when I manually scroll the ListView upwards ...
Tonus asked 17/2, 2013 at 16:5
2
Solved
I am trying to set a background color for item when the user click on a child item in my expandableListView.
Here is the code :
expListView.setOnChildClickListener(new OnChildClickListener() {
@...
Mom asked 6/2, 2015 at 14:2
© 2022 - 2024 — McMap. All rights reserved.