Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GLPI
java-library-glpi
Commits
7aef82f8
Commit
7aef82f8
authored
Oct 31, 2017
by
Rafa Hernandez
Committed by
Alexander Salas Bastidas
Nov 01, 2017
Browse files
docs(example): update examples
parent
cdcb10bf
Changes
1
Show whitespace changes
Inline
Side-by-side
example/src/main/java/org/glpi/glpiproject/MainActivity.java
View file @
7aef82f8
...
...
@@ -167,7 +167,7 @@ public class MainActivity extends AppCompatActivity {
}
});
glpi
.
get
An
Item
(
itemType
.
Computer
,
"110"
,
new
GLPI
.
JsonObjectCallback
()
{
glpi
.
getItem
(
itemType
.
Computer
,
"110"
,
new
GLPI
.
JsonObjectCallback
()
{
@Override
public
void
onResponse
(
JsonObject
response
)
{
FlyveLog
.
i
(
"getAnItem: %s"
,
response
.
toString
());
...
...
@@ -285,7 +285,7 @@ public class MainActivity extends AppCompatActivity {
}
});
glpi
.
lost
Password
(
"youremail@yourdomain.com"
,
new
GLPI
.
VoidCallback
()
{
glpi
.
recovery
Password
(
"youremail@yourdomain.com"
,
new
GLPI
.
VoidCallback
()
{
@Override
public
void
onResponse
(
String
response
)
{
FlyveLog
.
i
(
"lostPassword: %s"
,
response
);
...
...
@@ -297,7 +297,7 @@ public class MainActivity extends AppCompatActivity {
}
});
glpi
.
re
covery
Password
(
"youremail@yourdomain.com"
,
"asdfasdfafsASDFd333A"
,
"1234"
,
new
GLPI
.
VoidCallback
()
{
glpi
.
re
set
Password
(
"youremail@yourdomain.com"
,
"asdfasdfafsASDFd333A"
,
"1234"
,
new
GLPI
.
VoidCallback
()
{
@Override
public
void
onResponse
(
String
response
)
{
FlyveLog
.
i
(
"recoveryPassword: %s"
,
response
);
...
...
Write
Preview
Supports
Markdown
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