use of com.tinyspeck.android.GlitchRequest in project glitch-hq-android by tinyspeck.
the class MailboxDetailFragment method deleteMail.
private void deleteMail() {
Map<String, String> params = new HashMap<String, String>();
params.put("message_id", Integer.toString(m_msgId));
GlitchRequest request = m_application.glitch.getRequest("mail.deleteMessage", params);
request.execute(this);
m_requestCount = 1;
((HomeScreen) getActivity()).showSpinner(true);
}
use of com.tinyspeck.android.GlitchRequest in project glitch-hq-android by tinyspeck.
the class SkillDetailFragment method getSkillDetail.
public void getSkillDetail(String skillId) {
Map<String, String> params = new HashMap<String, String>();
params.put("skill_class", skillId);
GlitchRequest request1 = m_application.glitch.getRequest("skills.getInfo", params);
request1.execute(this);
m_requestCount = 1;
((HomeScreen) getActivity()).showSpinner(true);
}
use of com.tinyspeck.android.GlitchRequest in project glitch-hq-android by tinyspeck.
the class SkillDetailFragment method cancelUnlearning.
public void cancelUnlearning() {
Map<String, String> params = new HashMap<String, String>();
params.put("skill_class", m_currentSkill.id);
GlitchRequest request1 = m_application.glitch.getRequest("skills.cancelUnlearning", params);
request1.execute(this);
}
use of com.tinyspeck.android.GlitchRequest in project glitch-hq-android by tinyspeck.
the class SkillDetailFragment method learnSkill.
private void learnSkill() {
Map<String, String> params = new HashMap<String, String>();
params.put("skill_class", m_currentSkill.id);
GlitchRequest request1 = m_application.glitch.getRequest("skills.learn", params);
request1.execute(this);
}
use of com.tinyspeck.android.GlitchRequest in project glitch-hq-android by tinyspeck.
the class SkillDetailFragment method unlearnSkill.
private void unlearnSkill() {
Map<String, String> params = new HashMap<String, String>();
params.put("skill_class", m_currentSkill.id);
GlitchRequest request1 = m_application.glitch.getRequest("skills.unlearn", params);
request1.execute(this);
}
Aggregations