ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
Extended
Seoul
Extended
Seoul
Extended
Seoul
Extended
Seoul
Extended
Seoul
Extended
Seoul
Extended
Seoul
Extended
Seoul
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
Extended
Seoul
Extended
Seoul
Extended
Seoul
Extended
Seoul
Extended
Seoul
Extended
Seoul
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Mypage
12D3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Mypage
12D3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Mypage
12D3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Mypage
12D3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Mypage
12D3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Mypage
12D3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Mypage
12D3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Mypage
12D3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
@Override
protected void onResume() {
super.onResume();
NetworkManager.getUser(user.id).subscribe((User) user -> {
changeUserView(user);
});
}
@Override
protected void onResume() {
super.onResume();
NetworkManager.getUser(user.id).subscribe((User) user -> {
changeUserView(user);
});
}
@Override
protected void onResume() {
super.onResume();
NetworkManager.getUser(user.id).subscribe((User) user -> {
changeUserView(user);
});
}
@Override
protected void onResume() {
super.onResume();
NetworkManager.getUser(user.id).subscribe((User) user -> {
changeUserView(user);
});
}
@Override
protected void onResume() {
super.onResume();
NetworkManager.getUser(user.id).subscribe((User) user -> {
changeUserView(user);
});
}
@Override
protected void onResume() {
super.onResume();
NetworkManager.getUser(user.id).subscribe((User) user -> {
changeUserView(user);
});
}
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
public class ChangeUserEvent {
private User user;
public ChangeUserEvent(User user) {
this.user = user;
}
}
public class ChangeUserEvent {
private User user;
public ChangeUserEvent(User user) {
this.user = user;
}
}
public class MypageActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mypage);
...
}
...
@Subscribe
public void onChangeUserEvent(ChnageUserEvent event) {
changeUserView(event.user);
};
}
public class MypageActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mypage);
...
}
...
@Subscribe
public void onChangeUserEvent(ChangeUserEvent event) {
changeUserView(event.user);
};
}
public class MypageActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mypage);
...
}
...
@Subscribe
public void onChangeUserEvent(ChangeUserEvent event) {
changeUserView(event.user);
};
}
public class MypageActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mypage);
...
}
...
@Subscribe
public void onChangeUserEvent(ChangeUserEvent event) {
changeUserView(event.user);
};
}
public class ProfileActivity extends AppCompatActivity {
...
private void setUser(User user) {
EventBus.getDefault().post(new ChangeUserEvent(user));
}
}
public class ProfileActivity extends AppCompatActivity {
...
private void setUser(User user) {
EventBus.getDefault().post(new ChangeUserEvent(user));
}
}
public class ProfileActivity extends AppCompatActivity {
...
private void setUser(User user) {
EventBus.getDefault().post(new ChangeUserEvent(user));
}
}
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12;3
0
Page Title
12<3
0
Angie Pine
Rotterdam
On the Radio
Activity
Videography
Discography
Tickets
News
1
12<3
0
She is a sort of life changing
person.
8,5K1 min agoAngie Pine
Angie Pine
Rotterdam
127 Followers ? 387 Likes
Profile
12D3
0
public class MypageActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mypage);
RxBus.getInstance()
.getObservable()
.subscribe(
user -> changeUserView(user)
);
}
public class MypageActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mypage);
RxBus.getInstance()
.getObservable()
.subscribe(
user -> changeUserView(user)
);
}
public class MypageActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mypage);
RxBus.getInstance()
.getObservable()
.subscribe(
user -> changeUserView(user)
);
}
public class ProfileActivity extends AppCompatActivity {
...
private void setUser(User user) {
RxBus.getInstance().sendEvent(user);
}
}
public class ProfileActivity extends AppCompatActivity {
...
private void setUser(User user) {
RxBus.getInstance().sendEvent(user);
}
}
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
public class Developer {
private String name;
private int age;
private String language;
private String company;
private String school;
private boolean is_android_developer;
private View.OnClickListener reaction;
public Developer(String name, int age, String language, String company, String
school, boolean is_android_developer, View.OnClickListener reaction) {
this.name = name;
this.age = age;
this.language = language;
this.company = company;
this.school = school;
this.is_android_developer = is_android_developer;
this.reaction = reaction;
}
}
public class Developer {
private String name;
private int age;
private String language;
private String company;
private String school;
private boolean is_android_developer;
private View.OnClickListener reaction;
public Developer(String name, int age, String language, String company, String
school, boolean is_android_developer, View.OnClickListener reaction) {
this.name = name;
this.age = age;
this.language = language;
this.company = company;
this.school = school;
this.is_android_developer = is_android_developer;
this.reaction = reaction;
}
}
public class Developer {
private String name;
private int age;
private String language;
private String company;
private String school;
private boolean is_android_developer;
private View.OnClickListener reaction;
public Developer(String name, int age, String language, String company, String
school, boolean is_android_developer, View.OnClickListener reaction) {
this.name = name;
this.age = age;
this.language = language;
this.company = company;
this.school = school;
this.is_android_developer = is_android_developer;
this.reaction = reaction;
}
}
public class Developer {
private String name;
private int age;
private String language;
private String company;
private String school;
private boolean is_android_developer;
private View.OnClickListener reaction;
public Developer(String name, int age, String language, String company, String
school, boolean is_android_developer, View.OnClickListener reaction) {
this.name = name;
this.age = age;
this.language = language;
this.company = company;
this.school = school;
this.is_android_developer = is_android_developer;
this.reaction = reaction;
}
}
public class Developer {
private String name;
private int age;
private String language;
private String company;
private String school;
private boolean is_android_developer;
private View.OnClickListener reaction;
public Developer(String name, int age, String language, String company, String
school, boolean is_android_developer, View.OnClickListener reaction) {
this.name = name;
this.age = age;
this.language = language;
this.company = company;
this.school = school;
this.is_android_developer = is_android_developer;
this.reaction = reaction;
}
}
public class Developer {
private String name;
private int age;
private String language;
private String company;
private String school;
private boolean is_android_developer;
private View.OnClickListener reaction;
public Developer(String name, int age, String language, String company, String
school, boolean is_android_developer, View.OnClickListener reaction) {
this.name = name;
this.age = age;
this.language = language;
this.company = company;
this.school = school;
this.is_android_developer = is_android_developer;
this.reaction = reaction;
}
}
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
AlertDialog alertDialog = new AlertDialog.Builder(this)
.setTitle("DevFest2017")
.setMessage("?? ??? ???? ??? ????? ?? ????? ??? ??")
.setNegativeButton("??", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// ?? ?? ?
}
})
.setPositiveButton("??", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// ?? ?? ?
}
})
.show();
AlertDialog alertDialog = new AlertDialog.Builder(this)
.setTitle("DevFest2017")
.setMessage("?? ??? ???? ??? ????? ?? ????? ??? ??")
.setNegativeButton("??", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// ?? ?? ?
}
})
.setPositiveButton("??", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// ?? ?? ?
}
})
.show();
AlertDialog alertDialog = new AlertDialog.Builder(this)
.setTitle("DevFest2017")
.setMessage("?? ??? ???? ??? ????? ?? ????? ??? ??")
.setNegativeButton("??", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// ?? ?? ?
}
})
.setPositiveButton("??", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// ?? ?? ?
}
})
.show();
AlertDialog alertDialog = new AlertDialog.Builder(this)
.setTitle("DevFest2017")
.setMessage("?? ??? ???? ??? ????? ?? ????? ??? ??")
.setNegativeButton("??", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// ?? ?? ?
}
})
.setPositiveButton("??", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// ?? ?? ?
}
})
.show();
Developer developer = new Developer.Builder(this)
.setName("??")
.setAge(24)
.setLanguage("JAVA")
.setCompany(¡°????")
.setSchool("???")
.set_android_developer(true)
.setReaction(new View.OnClickListener() {
@Override
public void onClick(View view) {
smile();
}
})
.build();
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
??? ??: http://www.karthikscorner.com/sharepoint/design-patterns-adapter-pattern
??? ??: http://www.karthikscorner.com/sharepoint/design-patterns-adapter-pattern
??? ??: http://www.karthikscorner.com/sharepoint/design-patterns-adapter-pattern
??? ??: http://www.karthikscorner.com/sharepoint/design-patterns-adapter-pattern
Person#1
Person#2
Person#3
Person#n
¡­
Adapter
Person#1
Person#2
Person#3
Person#n
¡­
Adapter
Person#1
Person#2
Person#3
Person#n
¡­
Adapter
Person#1
Person#2
Person#3
Person#n
¡­
Adapter
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??
?? ??? ???? ??? ????? ?? ????? ??? ??

More Related Content

?? ??? ???? ??? ????? ?? ????? ??? ??

  • 28. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Mypage 12D3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0
  • 29. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Mypage 12D3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0
  • 30. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Mypage 12D3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0
  • 31. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Mypage 12D3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0
  • 32. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Mypage 12D3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0
  • 33. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Mypage 12D3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0
  • 34. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Mypage 12D3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0
  • 35. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Mypage 12D3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0
  • 36. @Override protected void onResume() { super.onResume(); NetworkManager.getUser(user.id).subscribe((User) user -> { changeUserView(user); }); }
  • 37. @Override protected void onResume() { super.onResume(); NetworkManager.getUser(user.id).subscribe((User) user -> { changeUserView(user); }); }
  • 38. @Override protected void onResume() { super.onResume(); NetworkManager.getUser(user.id).subscribe((User) user -> { changeUserView(user); }); }
  • 39. @Override protected void onResume() { super.onResume(); NetworkManager.getUser(user.id).subscribe((User) user -> { changeUserView(user); }); }
  • 40. @Override protected void onResume() { super.onResume(); NetworkManager.getUser(user.id).subscribe((User) user -> { changeUserView(user); }); }
  • 41. @Override protected void onResume() { super.onResume(); NetworkManager.getUser(user.id).subscribe((User) user -> { changeUserView(user); }); }
  • 52. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 53. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 54. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 55. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 56. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 57. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 58. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 59. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 60. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 61. public class ChangeUserEvent { private User user; public ChangeUserEvent(User user) { this.user = user; } }
  • 62. public class ChangeUserEvent { private User user; public ChangeUserEvent(User user) { this.user = user; } }
  • 63. public class MypageActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_mypage); ... } ... @Subscribe public void onChangeUserEvent(ChnageUserEvent event) { changeUserView(event.user); }; }
  • 64. public class MypageActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_mypage); ... } ... @Subscribe public void onChangeUserEvent(ChangeUserEvent event) { changeUserView(event.user); }; }
  • 65. public class MypageActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_mypage); ... } ... @Subscribe public void onChangeUserEvent(ChangeUserEvent event) { changeUserView(event.user); }; }
  • 66. public class MypageActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_mypage); ... } ... @Subscribe public void onChangeUserEvent(ChangeUserEvent event) { changeUserView(event.user); }; }
  • 67. public class ProfileActivity extends AppCompatActivity { ... private void setUser(User user) { EventBus.getDefault().post(new ChangeUserEvent(user)); } }
  • 68. public class ProfileActivity extends AppCompatActivity { ... private void setUser(User user) { EventBus.getDefault().post(new ChangeUserEvent(user)); } }
  • 69. public class ProfileActivity extends AppCompatActivity { ... private void setUser(User user) { EventBus.getDefault().post(new ChangeUserEvent(user)); } }
  • 73. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 74. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 75. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 76. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 77. Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12;3 0 Page Title 12<3 0 Angie Pine Rotterdam On the Radio Activity Videography Discography Tickets News 1 12<3 0 She is a sort of life changing person. 8,5K1 min agoAngie Pine Angie Pine Rotterdam 127 Followers ? 387 Likes Profile 12D3 0
  • 78. public class MypageActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_mypage); RxBus.getInstance() .getObservable() .subscribe( user -> changeUserView(user) ); }
  • 79. public class MypageActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_mypage); RxBus.getInstance() .getObservable() .subscribe( user -> changeUserView(user) ); }
  • 80. public class MypageActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_mypage); RxBus.getInstance() .getObservable() .subscribe( user -> changeUserView(user) ); }
  • 81. public class ProfileActivity extends AppCompatActivity { ... private void setUser(User user) { RxBus.getInstance().sendEvent(user); } }
  • 82. public class ProfileActivity extends AppCompatActivity { ... private void setUser(User user) { RxBus.getInstance().sendEvent(user); } }
  • 85. public class Developer { private String name; private int age; private String language; private String company; private String school; private boolean is_android_developer; private View.OnClickListener reaction; public Developer(String name, int age, String language, String company, String school, boolean is_android_developer, View.OnClickListener reaction) { this.name = name; this.age = age; this.language = language; this.company = company; this.school = school; this.is_android_developer = is_android_developer; this.reaction = reaction; } }
  • 86. public class Developer { private String name; private int age; private String language; private String company; private String school; private boolean is_android_developer; private View.OnClickListener reaction; public Developer(String name, int age, String language, String company, String school, boolean is_android_developer, View.OnClickListener reaction) { this.name = name; this.age = age; this.language = language; this.company = company; this.school = school; this.is_android_developer = is_android_developer; this.reaction = reaction; } }
  • 87. public class Developer { private String name; private int age; private String language; private String company; private String school; private boolean is_android_developer; private View.OnClickListener reaction; public Developer(String name, int age, String language, String company, String school, boolean is_android_developer, View.OnClickListener reaction) { this.name = name; this.age = age; this.language = language; this.company = company; this.school = school; this.is_android_developer = is_android_developer; this.reaction = reaction; } }
  • 88. public class Developer { private String name; private int age; private String language; private String company; private String school; private boolean is_android_developer; private View.OnClickListener reaction; public Developer(String name, int age, String language, String company, String school, boolean is_android_developer, View.OnClickListener reaction) { this.name = name; this.age = age; this.language = language; this.company = company; this.school = school; this.is_android_developer = is_android_developer; this.reaction = reaction; } }
  • 89. public class Developer { private String name; private int age; private String language; private String company; private String school; private boolean is_android_developer; private View.OnClickListener reaction; public Developer(String name, int age, String language, String company, String school, boolean is_android_developer, View.OnClickListener reaction) { this.name = name; this.age = age; this.language = language; this.company = company; this.school = school; this.is_android_developer = is_android_developer; this.reaction = reaction; } }
  • 90. public class Developer { private String name; private int age; private String language; private String company; private String school; private boolean is_android_developer; private View.OnClickListener reaction; public Developer(String name, int age, String language, String company, String school, boolean is_android_developer, View.OnClickListener reaction) { this.name = name; this.age = age; this.language = language; this.company = company; this.school = school; this.is_android_developer = is_android_developer; this.reaction = reaction; } }
  • 96. AlertDialog alertDialog = new AlertDialog.Builder(this) .setTitle("DevFest2017") .setMessage("?? ??? ???? ??? ????? ?? ????? ??? ??") .setNegativeButton("??", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { // ?? ?? ? } }) .setPositiveButton("??", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { // ?? ?? ? } }) .show();
  • 97. AlertDialog alertDialog = new AlertDialog.Builder(this) .setTitle("DevFest2017") .setMessage("?? ??? ???? ??? ????? ?? ????? ??? ??") .setNegativeButton("??", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { // ?? ?? ? } }) .setPositiveButton("??", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { // ?? ?? ? } }) .show();
  • 98. AlertDialog alertDialog = new AlertDialog.Builder(this) .setTitle("DevFest2017") .setMessage("?? ??? ???? ??? ????? ?? ????? ??? ??") .setNegativeButton("??", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { // ?? ?? ? } }) .setPositiveButton("??", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { // ?? ?? ? } }) .show();
  • 99. AlertDialog alertDialog = new AlertDialog.Builder(this) .setTitle("DevFest2017") .setMessage("?? ??? ???? ??? ????? ?? ????? ??? ??") .setNegativeButton("??", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { // ?? ?? ? } }) .setPositiveButton("??", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { // ?? ?? ? } }) .show();
  • 100. Developer developer = new Developer.Builder(this) .setName("??") .setAge(24) .setLanguage("JAVA") .setCompany(¡°????") .setSchool("???") .set_android_developer(true) .setReaction(new View.OnClickListener() { @Override public void onClick(View view) { smile(); } }) .build();