Android pull-to-refresh or not design patterns - android

Hi just wondering whether or not to add a pull to refresh in my app. I am used to ios so i know the pull to refresh feature well and i like it however i am unsure whether or not this is a standard in android.
Should i use pull to refresh or stick with a standard refresh button

You can find the samples to pull to refresh here in these two links
Link1
Link2
and here is the Stack overflow discussion
SO discussion

The "recommended" use case for refresh on Android is a button in the Action Bar. That said, as Paul-Jan mentioned, the Facebook and Twitter apps both use it, and I think it's actually a very nice and intuitive UI pattern. I would maybe suggest going with both -- a refresh button in the Action Bar as well as pull to refresh.

Related

Detect pulling listview and refresh

I even don't know, what to write in title bar.
I want my app to implement this feature:
For those, who don't understand what I'm talking about:
I have a LitsView. I want to load some more data, if the user pulls the ListView "out of it boundaries".
Maybe there's some tutorial for this?
Have a look at that library. It's the best pull-to-refresh library on Android.
There are many open source library's to implement this feature as Romain suggested . Listing down few open source project links and tutorial on how to implement it.
http://www.recursiveawesome.com/blog/2011/04/29/implementing-pull-to-refresh-in-your-android-app/
https://github.com/erikwt/PullToRefresh-ListView

android ui - is there any android wizard framework around?

I was wondering if there is any android wizard framework around which helps implementing a wizard like setup sequence. Surely it can be implemented from the ground with not too much pain (for example one discussion here) yes as this seems a quite standard need I hope there is already some support framework for this available.
Thanks buddies
martin
I can answer this - but not in the affirmative. There is nothing in the core API, neither is there anything in ActionBarSherlock, and I've failed to find anything remotely useful anywhere else.
I've ended up developing my own wizard framework on the back of ABS but at the moment its so heavily intertwined with my own app (and my other framework code) that it isn't in a state to put up as a public repo on github (which is my longer term plan).
If you decide to go your own way I recommend you start from ActionBarSherlock and use a tabbed view with fragments. Its easy to put together and the end user can use the tabs, or swiping, or buttons (if you provide them) to navigate from step to step. It may also be possible to hide the tabs if you don't want them visible (but they do give the user an idea of what is coming up which can be helpful). Have a look at the fragments sample app, specifically the "Tabs and Pager" sample. ViewPager and FragmentPagerAdaptor are your friends. You can download ABS and the samples from the Action Bar Sherlock site

android pop up menus

I cannot find either one of these two views in the source, but have seen them both in many apps. Can anyone please tell me what they are called?
Thanks
The second one is an options menu from the action bar. I think it is implemented as a ListPopupWindow.
The first one is not part of the Android SDK, though there are various implementations floating around. Here is an example of one designed for use with Google Maps, for example. Here is one designed for the "quick actions" pattern.
I'm going to assume that they're custom made ones, so you won't find them in the standard Android libraries.
The second one I think is just the way that the default menu looks in ICS (and honeycomb for that matter). If you build for 4.0 and include the code for an options menu I think you'll get that UI by default. If you are looking to customize it check out this page http://developer.android.com/guide/topics/ui/actionbar.html and pay close attention to the "Adding drop down navigation" section.
The first one is not a part of the android UI, that is something specific to the facebook app.

How can I create a slide out options menu for Android ListView items?

I am making an Android app and one of the activities in the app is a List Activity. I want the ListView to have the slide out options menu for the list items like you often see in apps like twitter:
I thought I read a while back that Android had a feature like this included in the sdk, but I can't seem to find any documentation or tutorials on it. Part of my problem is that I don't know exactly what the feature is called. I have done quite a bit of searching, but I haven't come up with anything useful. I am hoping that someone with a bit of Android development experience has seen this before and could recommend a resource or two.
Thanks!
This question has been asked before. They're called quick actions.

share feature of menu in android application

i asked so many question regarding my title but i could not get my proper answer till yet.I need to implement androd's menu feature in my application ie when we goes to gallery in android phone, when we press menu than it comes with lots of option like share...etc.My question is can i implement same menu feature in my application? It is possible or not?
Thanks
To implement a "Share" feature, all you need to do is use createChooser() and an ACTION_SEND Intent.
Here is a blog post covering the technique.
If I am understanding your question you want to know if you can duplicate the feature of tapping on the menu button on the phone and having it pull up an options menu that you can then share via, gmail or some other posting medium?
If this is correct then I would have to say I would assume that you could duplicate this feature.
In short YES!
If you are wondering how you are to do this then I would start at here http://developer.android.com/guide/topics/ui/menus.html
Droidnova .com (I posted it like this because as a new user I can only post one link) also has a good little how to on menu's.
I would also like to add that this is my first time posting on stackoverflow so please let me know if this was a good post or what I should do next time.
Thanks,
Bactos

Categories

Resources