Comments (13)
If by that you mean that each of the views in the viewflow contains a listview, yes that's possible.
from android-viewflow.
yes absolutely
I am very much new to android......Kindly give me some sample for have
Listviews in all the view of viewflow as you said.
Looking for ur reply as sooon as possible
2012/1/5 Patrik kerfeldt <
[email protected]
If by that you mean that each of the views in the viewflow contains a
listview, yes that's possible.
Reply to this email directly or view it on GitHub:
from android-viewflow.
Sorry, but I can't give you that kind of support. I simply don't have the time. You should look in the viewflow-examples folder for getting started help.
from android-viewflow.
I tried with ur sample ....
Let me tell you what i have done
I added a listview in diff_View2.xml
and added this
ListView listView = (ListView) findViewById(R.id.listView2);
String[] Values = new String[] { "Cupcake", "Donut", "Eclair", "Froyo",
"Gingerbread", "Honeycomb", "IceCream Sandwich"};
listView.setAdapter(new ArrayAdapter(this,
android.R.layout.simple_list_item_1, Values));
Bt whatever i add i am getting listView only in the First View of the
Viewflow
Kindly suggest me where i am doing mistake
2012/1/6 Patrik kerfeldt <
[email protected]
Sorry, but I can't give you that kind of support. I simply don't have the
time. You should look in the viewflow-examples folder for getting started
help.
Reply to this email directly or view it on GitHub:
from android-viewflow.
Just as you have an ArrayAdapter for your listview you need an Adapter for the viewflow. This adapter implements getView(...) and here you need to inflate your listview and populate it with another adapter (like the one you just wrote).
If you get a listview for the first view only, you need to have a look at the adapter implementation and the getView(...) method. For each position you need to return a valid view (a listview in your case).
from android-viewflow.
Hi,
I have tried my level best with above code attached....Moreover i tried
debugging as well..
Bt cant able to find where i did mistake..Kindly help me in this issue
2012/1/6 Patrik kerfeldt <
[email protected]
Just as you have an ArrayAdapter for your listview you need an Adapter for
the viewflow. This adapter implements getView(...) and here you need to
inflate your listview and populate with another adapter (like the one you
just wrote).If you only get a listview for the first view only, you need to have a
look at the adapter implementation and the getView(...) method. For each
position you need to return a valid view (a listview in your case).
Reply to this email directly or view it on GitHub:
from android-viewflow.
Looking forward to your help in this...I done all things which you said in
the previous reply but still didnt work..
2012/1/9 sundar rajan [email protected]
Hi,
I have tried my level best with above code attached....Moreover i tried
debugging as well..
Bt cant able to find where i did mistake..Kindly help me in this
issue2012/1/6 Patrik kerfeldt <
[email protected]Just as you have an ArrayAdapter for your listview you need an Adapter
for the viewflow. This adapter implements getView(...) and here you need to
inflate your listview and populate with another adapter (like the one you
just wrote).If you only get a listview for the first view only, you need to have a
look at the adapter implementation and the getView(...) method. For each
position you need to return a valid view (a listview in your case).
Reply to this email directly or view it on GitHub:
from android-viewflow.
Whenever u find time try to provide me some sample with the above req
2012/1/10 sundar rajan [email protected]
Looking forward to your help in this...I done all things which you said in
the previous reply but still didnt work..2012/1/9 sundar rajan [email protected]
Hi,
I have tried my level best with above code attached....Moreover i
tried debugging as well..
Bt cant able to find where i did mistake..Kindly help me in this
issue2012/1/6 Patrik kerfeldt <
[email protected]Just as you have an ArrayAdapter for your listview you need an Adapter
for the viewflow. This adapter implements getView(...) and here you need to
inflate your listview and populate with another adapter (like the one you
just wrote).If you only get a listview for the first view only, you need to have a
look at the adapter implementation and the getView(...) method. For each
position you need to return a valid view (a listview in your case).
Reply to this email directly or view it on GitHub:
from android-viewflow.
What you ask for is simply elementary knowledge of the Android platform. This tutorial might help you: http://www.vogella.de/articles/AndroidListView/article.html
from android-viewflow.
come on i knew this is elementary ...Just leave it ...Let me show with my
knowledge
what this elementary boy can do in future....
2012/1/25 Patrik kerfeldt <
[email protected]
What you ask for is simply elementary knowledge of the Android platform.
This tutorial might help you:
http://www.vogella.de/articles/AndroidListView/article.html
Reply to this email directly or view it on GitHub:
from android-viewflow.
I'm sorry to hear that you get upset. But you have to accept the fact that I don't have time to give you the complete example you ask for. Especially when there's already a lot of very god tutorials which, together with the examples in android-viewflow should be enough to understand how to create a viewflow with multiple list views.
from android-viewflow.
Its k dude....I will try to manage
2012/1/26 Patrik kerfeldt <
[email protected]
I'm sorry to hear that you get upset. But you have to accept the fact that
I don't have time to give you the complete example you ask for. Especially
when there's already a lot of very god tutorials which, together with the
examples in android-viewflow should be enough to understand how to create a
viewflow with multiple list views.
Reply to this email directly or view it on GitHub:
from android-viewflow.
Hello , Patrik!
I am a beginner in learning android . and I found one of your work viewflow, which I think very excellent, may contain some bug. According to the log ,I found that when Keep sliding the screen, strings in the green block (05-25 10:32:25.370: D/viewflow(2536): Size of mLoadedViews: 5, Size of mRecycledViews: 4, X: 640, Y: 0), and (05-25 10:32:25.380: D/viewflow(2536): IndexInAdapter: 5, IndexInBuffer: 3 can be get. And then the index out of bounds will occur.which will cause the appliacation of your example to crash.
May this string ,05-25 10:15:35.590: E/AndroidRuntime(1914): at org.taptwo.android.widget.ViewFlow.postViewSwitched(ViewFlow.java:667), be helpful in debugging.
it would be very helpful for you to fix this,and I will be very happy for your kindness responding
best regards!
from android-viewflow.
Related Issues (20)
- adapter getview position always return 0?
- How to make the margin between images become zero? HOT 1
- how to run the examples ?
- "ant jar" build failure
- how to adjust the sensitivity of the switching bewteen views?
- native typeface cannot be made
- Inflate the same Layout?
- viewflow cause memory leak? HOT 2
- Unable to set Text for other layout HOT 1
- the return value of method getSelectedItemPosition() is not refreshed instantly
- NullPointerException occurs randomly while scrolling
- Increase Size of CircleFlowIndicator HOT 1
- ViewFlow displays only one title for Holo Light Theme.
- Request
- How to add Settings in DiffViewFlow
- the master version can`t support API below Level 11 HOT 13
- java.lang.NoSuchMethodError: android.view.View.getMeasuredState HOT 2
- view flow inside list view HOT 1
- Problem on ExpandableListView HOT 1
- IndexOutOfBoundException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-viewflow.