Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
850235c5
authored
Jun 01, 2017
by
Chauka Dev
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fixed - We select option from drop down after refresh the page, App is crashed.
parent
043807a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/src/main/java/com/vsoft/servicenow/ui/CatalogueVariableScreen.java
app/src/main/java/com/vsoft/servicenow/ui/CatalogueVariableScreen.java
View file @
850235c5
...
@@ -318,6 +318,7 @@ public class CatalogueVariableScreen extends AppCompatActivity {
...
@@ -318,6 +318,7 @@ public class CatalogueVariableScreen extends AppCompatActivity {
}
}
if
(
syncStatus
==
SyncStatus
.
SUCCESS
)
{
if
(
syncStatus
==
SyncStatus
.
SUCCESS
)
{
mCatalogueVariableList
=
CatalogueVariableManager
.
getAllVariable
(
mCatalogueItem
.
getId
());
mCatalogueVariableList
=
CatalogueVariableManager
.
getAllVariable
(
mCatalogueItem
.
getId
());
setVariableChoices
();
/*This if condition is use for, when variable form will load very first time
/*This if condition is use for, when variable form will load very first time
* Other wise according to our logic we have to show dialog because we will get mFormHasChanged is "true"
* Other wise according to our logic we have to show dialog because we will get mFormHasChanged is "true"
* Reason behind is getting "true" is -
* Reason behind is getting "true" is -
...
@@ -338,7 +339,6 @@ public class CatalogueVariableScreen extends AppCompatActivity {
...
@@ -338,7 +339,6 @@ public class CatalogueVariableScreen extends AppCompatActivity {
mContainerLayout
.
removeAllViews
();
mContainerLayout
.
removeAllViews
();
/*Create dynamic layout and set Ui Policy*/
/*Create dynamic layout and set Ui Policy*/
/*-----------------------------*/
/*-----------------------------*/
setVariableChoices
();
createView
();
createView
();
runUIPolicyActions
(
null
);
runUIPolicyActions
(
null
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment