This file contains 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
using System; | |
using Cirrious.MvvmCross.ViewModels; | |
namespace MyRep | |
{ | |
public class AddressQueryViewModel : MvxViewModel | |
{ | |
public AddressQueryViewModel () | |
{ | |
} |
This file contains 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
using System; | |
using Cirrious.MvvmCross.ViewModels; | |
namespace MyRep.Core | |
{ | |
public class App : MvxApplication | |
{ | |
public App () | |
{ | |
RegisterAppStart (new MvxAppStart<AddressQueryViewModel>()); |
This file contains 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
using Android.App; | |
using Android.Content; | |
using Cirrious.MvvmCross.Droid.Platform; | |
using Cirrious.MvvmCross.Droid.Views; | |
using Cirrious.MvvmCross.ViewModels; | |
using MyRep.Core; | |
namespace MyRep.Core | |
{ | |
public class Setup : MvxAndroidSetup |
This file contains 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
apply plugin: 'android' | |
import com.rain.utils.android.cpgen.generator.*; | |
android { | |
compileSdkVersion 19 | |
buildToolsVersion "19.0.3" | |
defaultConfig { | |
minSdkVersion 14 | |
targetSdkVersion 19 |
This file contains 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
{ | |
"packageName": "com.rain.android.agenda.data", | |
"providerName": "agenda", | |
"databaseVersion": 1, | |
"tables": [ | |
{ | |
"name": "agenda", | |
"members" : [ | |
{ | |
"type" : "string", |
This file contains 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 class ServiceClient { | |
public interface ServiceClientDelegate { | |
Client getClient(); | |
} | |
private static ServiceClient instance; | |
private final int CONNECTION_TIMEOUT = 60000; | |
private RestAdapter mRestAdapter; |
This file contains 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
// | |
// OrderedForm.h | |
// KSLClassifieds | |
// | |
// Created by Dustin Graham on 11/4/11. | |
// Copyright (c) 2011 __MyCompanyName__. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "StandardInputAccessory.h" |
This file contains 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
import os, sys, shutil | |
legalResolutionModifiers = ["ldpi","mdpi","hdpi","xhdpi","xxhdpi","xxxhdpi"] | |
# check inputs | |
if len(sys.argv) != 3: | |
print "illegal usage" | |
sys.exit() | |
sourceFolder = sys.argv[1] |
This file contains 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
05-13 14:55:03.464: E/AndroidRuntime(1568): FATAL EXCEPTION: main | |
05-13 14:55:03.464: E/AndroidRuntime(1568): java.lang.ExceptionInInitializerError | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:173) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at com.rain.example.retrofit.sanitycheck.$Proxy0.getRepresentativesByZip(Native Method) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at com.rain.example.retrofit.sanitycheck.MainActivity.onCreate(MainActivity.java:61) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at android.app.ActivityThread.access$2300(ActivityThread.java:125) | |
05-13 14:55:03.464: E |
This file contains 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.rain.example.retrofit.sanitycheck; | |
import java.util.List; | |
import retrofit.RestAdapter; | |
import retrofit.http.GET; | |
import retrofit.http.Query; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.Menu; |
OlderNewer