Coder Social home page Coder Social logo

Comments (8)

NilakArgento avatar NilakArgento commented on June 7, 2024

I'm using


    compile 'com.github.vijayrawatsan:android-json-form-wizard:+'

from android-json-form-wizard.

vijayrawatsan avatar vijayrawatsan commented on June 7, 2024

Can you try latest dependency
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.vijayrawatsan:android-json-form-wizard:1.1.1-SNAPSHOT'
}

from android-json-form-wizard.

NilakArgento avatar NilakArgento commented on June 7, 2024

Doesn't work )

from android-json-form-wizard.

NilakArgento avatar NilakArgento commented on June 7, 2024

What can be the problem ?!

from android-json-form-wizard.

vijayrawatsan avatar vijayrawatsan commented on June 7, 2024

You tried to run the demo and it didnt work?

from android-json-form-wizard.

NilakArgento avatar NilakArgento commented on June 7, 2024

Demo works fine.

My build

apply plugin: 'com.android.application'

android {
    signingConfigs {
    }
    compileSdkVersion 21
    buildToolsVersion "21.1.2"
    defaultConfig {
        applicationId 'us.ethnicmedia.sevendays'
        minSdkVersion 14
        targetSdkVersion 21
        versionCode 12
        versionName '2.1'
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}
repositories {
    maven { url "https://jitpack.io" }
}


dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:22.0.0'
    compile 'com.android.support:cardview-v7:21.+'
    compile 'com.android.support:recyclerview-v7:21.+'
    compile('com.mikepenz.materialdrawer:library:2.0.2@aar') {
        transitive = true
    }
    compile 'com.etsy.android.grid:library:1.0.5'
    compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
    compile files('libs/volley.jar')
    compile 'com.github.vijayrawatsan:android-json-form-wizard:1.1.1-SNAPSHOT'

}

from android-json-form-wizard.

vijayrawatsan avatar vijayrawatsan commented on June 7, 2024

Possibly
tintContextWrapper.getBaseContext() is returning a ContextWrapper somehow for your case instead of activity(which implements JsonApi)

Change below line
api = (JsonApi) tintContextWrapper.getBaseContext();

to

Object obj = tintContextWrapper.getBaseContext();
if( obj instanceof JsonApi) {
api= (JsonApi)obj;
}
if (obj instanceof ContextThemeWrapper) {
api = (JsonApi) ((ContextThemeWrapper)obj).getBaseContext();
}

from android-json-form-wizard.

vijayrawatsan avatar vijayrawatsan commented on June 7, 2024

@NilakArgento I think this is fixed for you. It would be nice if you could send a pr for the above code.

from android-json-form-wizard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.