Comments (8)
I'm using
compile 'com.github.vijayrawatsan:android-json-form-wizard:+'
from android-json-form-wizard.
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.
Doesn't work )
from android-json-form-wizard.
What can be the problem ?!
from android-json-form-wizard.
You tried to run the demo and it didnt work?
from android-json-form-wizard.
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.
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.
@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)
- java.lang.NullPointerException: Null reference used for synchronization (monitor-enter)
- Spinner not showing and not validate required inputs
- Radiobutton & CheckBox HOT 2
- all android error inflate HOT 2
- java.lang.ClassNotFoundException on EditText text change event. HOT 1
- RegEx Issue
- more functionality HOT 4
- Radio Group with required validator HOT 1
- This Activity already has an action bar supplied by the window decor HOT 5
- Form Elements not showing HOT 1
- web based form builder HOT 4
- How to get form values
- Spinner invalid index 3, size is 3 HOT 1
- How to solve ActionBarActivity Deprecated?
- NoClassDefFoundError HOT 3
- Dependable Question
- how to set orination horizontal dynamic HOT 9
- Fatal Exception: java.lang.RuntimeException
- Not Working in android 8.0 and android 10.0
- Problem RadioButton
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-json-form-wizard.