Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
From JSON database use string for dimens?
Sivanagamahesh Gorijala
Dec 21 2017 6:01 AM
235
Reply
I am utilizing a JSON database.
In it, I like to have strings.
In the event that I store something like "singleImage_marginTop" as a string in the JSON document, I can get the string, yet how might I change over it into something that I could use here?
image.setPadding(R.dimen.(the_string_to_be_used_here));
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
My App keeps stopping
Buttons in android