mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 15:59:29 +00:00
Create movie type
This commit is contained in:
parent
9662015b3a
commit
dd28045fc7
@ -19,6 +19,11 @@ public enum PostTypes {
|
|||||||
*/
|
*/
|
||||||
IMAGE,
|
IMAGE,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Movie
|
||||||
|
*/
|
||||||
|
MOVIE,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unknown type
|
* Unknown type
|
||||||
*/
|
*/
|
||||||
|
@ -115,6 +115,10 @@ public class PostsHelper {
|
|||||||
post.setType(PostTypes.IMAGE);
|
post.setType(PostTypes.IMAGE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case "movie":
|
||||||
|
post.setType(PostTypes.MOVIE);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
post.setType(PostTypes.UNKNOWN);
|
post.setType(PostTypes.UNKNOWN);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user