@@ -0,0 +1,1813 @@
+package com.alcoapps.actionbarextras;%0A%0Aimport java.util.HashMap;%0A%0Aimport org.appcelerator.kroll.KrollDict;%0Aimport org.appcelerator.kroll.KrollProxy;%0Aimport org.appcelerator.kroll.annotations.Kroll;%0Aimport org.appcelerator.titanium.util.TiUIHelper;%0A%0Aimport android.app.ActionBar;%0Aimport android.widget.ArrayAdapter;%0A%0A%0A@Kroll.proxy(creatableInModule=ActionbarextrasModule.class)%0Apublic class DropdownProxy extends KrollProxy %7B%0A%09%0A%09public DropdownProxy() %7B%0A%09%09super();%0A%09%7D%0A%09%0A%09@Override%0A%09public void handleCreationDict(KrollDict options) %7B%0A%09%09%0A%09%09final ActionBar actionBar = getActivity().getActionBar();%0A%09%09%0A%09%09TiUIHelper.runUiDelayedIfBlock(new Runnable() %7B%0A%09%09%09@Override%0A%09%09%09public void run() %7B%0A%09%09%09%09actionBar.setDisplayShowTitleEnabled(false);%0A%09%09%09    actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);%0A%09%09%09%7D%0A%09%09%7D);%0A%09    %0A%09    %0A%09    if (options.containsKey(%22titles%22)) %7B%0A%09    %09final String%5B%5D dropdownValues = options.getStringArray(%22titles%22);%0A%09    %09%0A%09        ArrayAdapter%3CString%3E adapter = new ArrayAdapter%3CString%3E(actionBar.getThemedContext(),%0A%09            android.R.layout.simple_spinner_item, android.R.id.text1,%0A%09            dropdownValues);%0A%0A%09        adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);%0A%0A%09        actionBar.setListNavigationCallbacks(adapter, navigationListener);%0A%09%09%7D%0A%0A%09%09super.handleCreationDict(options);%0A%09%7D%0A%09%0A    ActionBar.OnNavigationListener navigationListener = new ActionBar.OnNavigationListener() %7B%0A%0A        @Override%0A        public boolean onNavigationItemSelected(int itemPosition, long itemId) %7B%0A            %0A        %09if (hasListeners(%22change%22)) %7B%0A    %09%09%09HashMap%3CString, Object%3E event = new HashMap%3CString, Object%3E();%0A    %09%09%09event.put(%22index%22, itemPosition);%0A    %09%09%09fireEvent(%22change%22, event);%0A    %09%09%7D%0A        %09%0A            return false;%0A        %7D%0A    %7D;%0A%0A%7D%0A

Add Dropdown proxy