use of com.github.pockethub.android.ui.MarkdownLoader in project PocketHub by pockethub.
the class BranchFileViewActivity method onCreateLoader.
@Override
public Loader<CharSequence> onCreateLoader(int loader, Bundle args) {
final String raw = args.getString(ARG_TEXT);
final Repository repo = args.getParcelable(ARG_REPO);
return new MarkdownLoader(this, repo, raw, imageGetter, false);
}
use of com.github.pockethub.android.ui.MarkdownLoader in project PocketHub by pockethub.
the class RenderedCommentFragment method onCreateLoader.
@Override
public Loader<CharSequence> onCreateLoader(int loader, Bundle args) {
final CharSequence raw = args.getCharSequence(ARG_TEXT);
final Repository repo = args.getParcelable(ARG_REPO);
return new MarkdownLoader(getActivity(), repo, raw.toString(), imageGetter, true);
}
use of com.github.pockethub.android.ui.MarkdownLoader in project PocketHub by pockethub.
the class CommitFileViewActivity method onCreateLoader.
@Override
public Loader<CharSequence> onCreateLoader(int loader, Bundle args) {
final String raw = args.getString(ARG_TEXT);
final Repository repo = args.getParcelable(ARG_REPO);
return new MarkdownLoader(this, repo, raw, imageGetter, false);
}
Aggregations