protected void setCurrentItem(int position) {
super.setCurrentItem(position);
adapter.setCurrentItem(position);
}
protected abstract void createComment(String comment);
<BUG>protected void finish(Comment comment) {
</BUG>
Intent data = new Intent();
data.putExtra(EXTRA_COMMENT, comment);
setResult(RESULT_OK, data);

protected void setCurrentItem(int position) {
super.setCurrentItem(position);
adapter.setCurrentItem(position);
}
protected abstract void createComment(String comment);
protected void finish(GithubComment comment) {
Intent data = new Intent();
data.putExtra(EXTRA_COMMENT, comment);
setResult(RESULT_OK, data);
