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
| <Target Name="BeforeBuild" Condition=" $(SetVersion) == true "> | |
| <XmlPoke XmlInputPath="Info.plist" Query="//dict/key[. = 'CFBundleVersion']/following-sibling::string[1]" Value="$(BuildNumber)" /> | |
| <XmlPoke XmlInputPath="Info.plist" Query="//dict/key[. = 'CFBundleShortVersionString']/following-sibling::string[1]" Value="1.0.$(BuildNumber)" /> | |
| </Target> | |
| <Target Name="BeforeBuild" Condition=" $(SetVersion) == true "> | |
| <XmlPoke XmlInputPath="Properties\AndroidManifest.xml" Namespaces="<Namespace Prefix='android' Uri='http://schemas.android.com/apk/res/android' />" Query="manifest/@android:versionCode" Value="$(BuildNumber)" /> | |
| <XmlPoke XmlInputPath="Properties\AndroidManifest.xml" Namespaces="<Namespace Prefix='android' Uri='http://schemas.android.com/apk/res/android' />" Query="manifest/@android:versionName" Value="1.0.$(BuildNumber)" /> | |
| </Target> |
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
| if (orderFilter == orderNum && pagerAdapter != null && files.length == pagerAdapter | |
| .getCount() | |
| && (files.length == 0 || files[0].hashCode() == pagerAdapter | |
| .getMemoryHash(0))) { | |
| return true; | |
| } |
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
| public boolean doesHalt(Process p) { | |
| killProcess(p); | |
| return true; | |
| } |
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
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| classpath 'com.android.tools.build:gradle:0.6.+' | |
| } | |
| } |
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
| <style name="EventInfoStyle"> | |
| <item name="android:textSize">18sp</item> | |
| <item name="android:layout_width">match_parent</item> | |
| <item name="android:layout_height">wrap_content</item> | |
| <item name="android:textColor">@android:color/black</item> | |
| <item name="android:textSize">15sp</item> | |
| <item name="android:textStyle">bold</item> | |
| <item name="android:textColor">@color/textGray</item> | |
| <item name="android:textSize">11sp</item> | |
| <item name="android:textStyle">normal</item> |
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
| Iterator<GraphUser> iter = users.iterator(); | |
| List<GraphUser> newList = new ArrayList<GraphUser>(); | |
| while(iter.hasNext()) { | |
| GraphUser user = iter.next(); | |
| if(user.theThingYouWant()){ | |
| newList.add(user); | |
| } | |
| } |