forked from upstream-mirrors/quik
This commit is contained in:
@@ -39,7 +39,6 @@ public class ComposeFragment extends QKFragment implements ActivityLauncher, Rec
|
||||
mRecipients = (AutoCompleteContactView) view.findViewById(R.id.compose_recipients);
|
||||
mRecipients.setOnItemClickListener(this);
|
||||
|
||||
view.findViewById(R.id.compose_view_stub).setVisibility(View.VISIBLE);
|
||||
mComposeView = (ComposeView) view.findViewById(R.id.compose_view);
|
||||
mComposeView.onOpenConversation(null, null);
|
||||
mComposeView.setActivityLauncher(this);
|
||||
|
||||
@@ -22,12 +22,16 @@ public class AutoCompleteContactView extends RecipientEditTextView {
|
||||
|
||||
public AutoCompleteContactView(Context context) {
|
||||
this(context, null);
|
||||
init(context);
|
||||
if (!isInEditMode()) {
|
||||
init(context);
|
||||
}
|
||||
}
|
||||
|
||||
public AutoCompleteContactView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
init(context);
|
||||
if (!isInEditMode()) {
|
||||
init(context);
|
||||
}
|
||||
}
|
||||
|
||||
private void init(Context context) {
|
||||
|
||||
@@ -40,12 +40,16 @@ public class StarredContactsView extends LinearLayout implements LoaderManager.L
|
||||
|
||||
public StarredContactsView(Context context) {
|
||||
super(context);
|
||||
init(context);
|
||||
if (!isInEditMode()) {
|
||||
init(context);
|
||||
}
|
||||
}
|
||||
|
||||
public StarredContactsView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
init(context);
|
||||
if (!isInEditMode()) {
|
||||
init(context);
|
||||
}
|
||||
}
|
||||
|
||||
private void init(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user