Skip to content

Commit

Permalink
Fix #1: retain fragment instance on configuration change (??)
Browse files Browse the repository at this point in the history
This is probably an Android support library bug (or misinterpretation).

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
  • Loading branch information
daniele-athome committed Mar 17, 2014
1 parent d48e634 commit 98a3470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/kontalk/ui/ConversationListFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public void onSaveInstanceState(Bundle outState) {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setRetainInstance(true);
setHasOptionsMenu(true);
}

Expand Down

0 comments on commit 98a3470

Please sign in to comment.