blob: 94c1d5b5aacee8b0524548b708b4c26a4facdfff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package org.wordpress.android.ui.reader.models;
import android.support.annotation.NonNull;
import org.wordpress.android.models.ReaderPost;
import org.wordpress.android.models.ReaderPostList;
import java.util.ArrayList;
public class ReaderRelatedPostList extends ArrayList<ReaderRelatedPost> {
public ReaderRelatedPostList(@NonNull ReaderPostList posts) {
for (ReaderPost post: posts) {
add(new ReaderRelatedPost(post));
}
}
}
|