Skip to content

Commit

Permalink
annotated state objects to transient
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyad-37 committed Jun 28, 2017
1 parent 946ef6d commit 25e1c2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.zeyad.usecases.app.screens.user.list.User;

import org.parceler.Parcel;
import org.parceler.Transient;

import java.util.List;

Expand All @@ -13,6 +14,7 @@
public class UserDetailState {
boolean isTwoPane;
User user;
@Transient
List<Repository> repos;

UserDetailState() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.zeyad.usecases.app.screens.user.list;

import org.parceler.Parcel;
import org.parceler.Transient;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -10,7 +11,9 @@
*/
@Parcel
public class UserListState {
@Transient
List<User> users;
@Transient
List<User> searchList;
long lastId;

Expand Down

0 comments on commit 25e1c2c

Please sign in to comment.