use of com.xabber.android.data.intent.EntityIntentBuilder in project xabber-android by redsolution.
the class ContactList method createRoomInviteIntent.
public static Intent createRoomInviteIntent(Context context, String account, String room) {
Intent intent = new EntityIntentBuilder(context, ContactList.class).setAccount(account).setUser(room).build();
intent.setAction(ACTION_ROOM_INVITE);
return intent;
}
use of com.xabber.android.data.intent.EntityIntentBuilder in project xabber-android by redsolution.
the class ContactList method createContactSubscriptionIntent.
public static Intent createContactSubscriptionIntent(Context context, String account, String user) {
Intent intent = new EntityIntentBuilder(context, ContactList.class).setAccount(account).setUser(user).build();
intent.setAction(ACTION_CONTACT_SUBSCRIPTION);
return intent;
}
use of com.xabber.android.data.intent.EntityIntentBuilder in project xabber-android by redsolution.
the class GroupEditor method createIntent.
public static Intent createIntent(Context context, String account, String user) {
Intent intent = new EntityIntentBuilder(context, GroupEditor.class).setAccount(account).setUser(user).build();
intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
return intent;
}
use of com.xabber.android.data.intent.EntityIntentBuilder in project xabber-android by redsolution.
the class ChatViewer method createSpecificChatIntent.
public static Intent createSpecificChatIntent(Context context, String account, String user) {
Intent intent = new EntityIntentBuilder(context, ChatViewer.class).setAccount(account).setUser(user).build();
intent.setAction(ACTION_SPECIFIC_CHAT);
return intent;
}
use of com.xabber.android.data.intent.EntityIntentBuilder in project xabber-android by redsolution.
the class ChatViewer method createRecentChatsIntent.
public static Intent createRecentChatsIntent(Context context) {
Intent intent = new EntityIntentBuilder(context, ChatViewer.class).build();
intent.setAction(ACTION_RECENT_CHATS);
return intent;
}
Aggregations