use of me.ccrama.redditslide.Activities.Shadowbox in project Slide by ccrama.
the class TumblrFull method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Bundle bundle = this.getArguments();
i = bundle.getInt("page", 0);
if (((Shadowbox) getActivity()).subredditPosts == null || ((Shadowbox) getActivity()).subredditPosts.getPosts().size() < bundle.getInt("page", 0)) {
getActivity().finish();
} else {
s = ((Shadowbox) getActivity()).subredditPosts.getPosts().get(bundle.getInt("page", 0));
}
}
Aggregations