Skip to content

Instantly share code, notes, and snippets.

@sys1yagi
Created February 28, 2014 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sys1yagi/9263571 to your computer and use it in GitHub Desktop.
Save sys1yagi/9263571 to your computer and use it in GitHub Desktop.
秘密のコード
private QuestionListAdapter adapter;
public void reload() {
adapter.setNotifyOnChange(false);
adapter.clear();
List<Question> questions = spm.loadQuestions();
for (Question question : questions) {
adapter.add(question);
}
adapter.notifyDataSetChanged();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment