This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1.2 Install Perl: | |
| http://downloads.activestate.com/ActivePerl/releases/5.18.1.1800/ActivePerl-5.18.1.1800-MSWin32-x64-297570.msi | |
| You can exclude Perl Script, PPM, documentation and examples if you don't need them for other purposes. | |
| 1.3 Install Python: | |
| http://www.python.org/ftp/python/3.3.3/python-3.3.3.amd64.msi | |
| 1.4 Install a toolchain from MinGW-builds project: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name \*conflicted\* -print0 -exec rm -- {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add to Gemfile | |
| gem 'capistrano' | |
| gem 'capistrano-ext' | |
| gem 'capistrano-rvm' | |
| gem 'capistrano-rails' | |
| gem 'capistrano-bundler' | |
| Install Capistrano |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Override | |
| public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
| createContentView(inflater, container, savedInstanceState); | |
| if (LIGER.LOGGING) { | |
| Log.d(LIGER.TAG, "PageFragment.onCreateView() " + pageName); | |
| } | |
| if (isDialog) { | |
| return super.onCreateView(inflater, container, savedInstanceState); | |
| } | |
| FragmentManager childFragmentManager = getChildFragmentManager(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protected View createContentView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
| mNavigatorContentFrame = inflater.inflate(R.layout.navigator_layout, container, false); | |
| mNavigatorContentFrame.setId(ViewUtil.generateViewId()); | |
| return mNavigatorContentFrame; | |
| } | |
| @Override | |
| public Dialog onCreateDialog(Bundle inState) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Activity - Back button | |
| @Override | |
| public boolean dispatchKeyEvent(KeyEvent event) { | |
| int keyCode = event.getKeyCode(); | |
| if ((keyCode == KeyEvent.KEYCODE_BACK)) { | |
| if (event.getAction() == KeyEvent.ACTION_UP) { | |
| if (menuDrawer.isDrawerOpen(Gravity.START)) { | |
| menuDrawer.closeDrawers(); | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 11-04 15:23:11.346 12871-12871/? E/AndroidRuntime﹕ FATAL EXCEPTION: main | |
| Process: com.reachlocal.mobile.liger.testApp.debug, PID: 12871 | |
| java.lang.IndexOutOfBoundsException: Invalid index 2, size is 1 | |
| at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) | |
| at java.util.ArrayList.set(ArrayList.java:481) | |
| at android.support.v4.app.FragmentManagerImpl.makeInactive(FragmentManager.java:1169) | |
| at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078) | |
| at android.support.v4.app.FragmentManagerImpl$5.onAnimationEnd(FragmentManager.java:1023) | |
| at android.view.animation.AnimationSet.getTransformation(AnimationSet.java:400) | |
| at android.view.animation.Animation.getTransformation(Animation.java:940) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.reachlocal.mobile.liger.ui; | |
| import android.os.Bundle; | |
| import android.support.v4.app.ActionBarDrawerToggle; | |
| import android.support.v4.app.FragmentTransaction; | |
| import android.support.v4.widget.DrawerLayout; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.util.Log; | |
| import android.view.LayoutInflater; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.reachlocal.mobile.liger.ui; | |
| import android.os.Bundle; | |
| import android.support.v4.app.ActionBarDrawerToggle; | |
| import android.support.v4.app.FragmentTransaction; | |
| import android.support.v4.widget.DrawerLayout; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import android.view.ViewGroup;import android.widget.LinearLayout; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 11-07 14:52:22.999 29488-29488/com.reachlocal.mobile.liger.testApp.debug E/AndroidRuntime﹕ FATAL EXCEPTION: main | |
| Process: com.reachlocal.mobile.liger.testApp.debug, PID: 29488 | |
| java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2 | |
| at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) | |
| at java.util.ArrayList.set(ArrayList.java:481) | |
| at android.support.v4.app.FragmentManagerImpl.makeInactive(FragmentManager.java:1169) | |
| at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078) | |
| at android.support.v4.app.FragmentManagerImpl$5.onAnimationEnd(FragmentManager.java:1023) | |
| at android.view.animation.AnimationSet.getTransformation(AnimationSet.java:400) | |
| at android.view.animation.Animation.getTransformation(Animation.java:940) |
OlderNewer