Instead of making these static, you could create a listener that works similarly to the 'onCommentStatusChangeListener' in ViewPostFragment.java. When the user swiped, you can call the listener which will tell the CommentsActivity to move to the next post.