Drop Menu - Superfish
There are a number of drop down menu in JQuery. The most I used a lot is Superfish. Because it can convert a <ul> into a menu, just remember <ul> with sf-menu css class. Moreover, everything is under in CSS. Lastly, that is still fine in IE 6 too! So far, that can fulfill my requirements, I highly recommended it!
ColorBox- Jquery Light Box Plugin
I found a good Jquery Light Box Plugin, ColorBox. I love it, because it supports to load iframe in a light style. That is a better way to load a sub-page rather than using a pop-up windows. It is less annoying. Moreover, that is easy to use, just like this:
Code
$(".iframelink").colorbox({ iframe: true, width: "80%", height: "80%" }); |
ViewPagerIndicator(2)-Fragment
I started to use ViewPagerIndicator for a few weeks. I found out each "page" inside ViewPagerIndicator is a Fragment. If that is a simple page, it will extend Fragment. If that is a list, please extend ListFragment
Code
public class TaskFragment extends ListFragment{ |
That is very complex, I suggest to read the document from Android.com. We have to fully understand the fragment concept!
Google Play Style Action Bar - ViewPagerIndicator
I want to add a Google Play Style Action Bar into my AdvGen ToDoList
acction. That will improve user interactions. I know that is doable in Android 3.0+, but I still want to Android 2.x. I know Android Support v4 can bring Action Bar into Android 2.x. It makes the solution is doable, but that is not a out of box library. I found ViewPagerIndicator opensource library. That make my life much easier!
onListItemClick is not working
You need to build a sub-class of ListActivity. Then you can override onListItemClick to catch the event on click when the list item is clicked. But that is not always working, if you use your custom list adapter and inside the adapter has any button, check box and image button. If the adapter has this kind of checkable item, they seems to be catch the click event before onListItemClick. So onListItemClick is not work.
I found this problem when I build my AdvGen To Do List.