aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/java/ml/docilealligator/infinityforreddit/events/SubmitTextOrLinkPostEvent.java
blob: c0613568887283c3eb529905b08a131f8116815b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
                                                    
 
                                                      











                                                                                           
package ml.docilealligator.infinityforreddit.events;

import ml.docilealligator.infinityforreddit.post.Post;

public class SubmitTextOrLinkPostEvent {
    public boolean postSuccess;
    public Post post;
    public String errorMessage;

    public SubmitTextOrLinkPostEvent(boolean postSuccess, Post post, String errorMessage) {
        this.postSuccess = postSuccess;
        this.post = post;
        this.errorMessage = errorMessage;
    }
}