use of com.moez.QKSMS.ui.view.StarredContactsView in project qksms by moezbhatti.
the class ComposeFragment method onCreateView.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_compose, container, false);
mRecipients = (AutoCompleteContactView) view.findViewById(R.id.compose_recipients);
mRecipients.setOnItemClickListener(this);
mComposeView = (ComposeView) view.findViewById(R.id.compose_view);
mComposeView.onOpenConversation(null, null);
mComposeView.setActivityLauncher(this);
mComposeView.setRecipientProvider(this);
mComposeView.setOnSendListener(this);
mComposeView.setLabel("Compose");
mStarredContactsView = (StarredContactsView) view.findViewById(R.id.starred_contacts);
mStarredContactsView.setComposeScreenViews(mRecipients, mComposeView);
new Handler().postDelayed(() -> KeyboardUtils.showAndFocus(mContext, mRecipients), 100);
return view;
}
Aggregations