Back to project page Lessaging.
The source code is released under:
GNU General Public License
If you think the Android project Lessaging listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package fr.lessaging.utils; /*from w w w. ja v a2 s . c o m*/ /** * Created by lheido on 31/10/14. */ import fr.lessaging.conversation.Conversation; import fr.lessaging.fragments.MmsFragment; import fr.lessaging.fragments.SmsBaseFragment; import fr.lessaging.fragments.SmsFragment; /** * SMS/MMS fragment builder. */ public class BuildFragment { public static SmsFragment SMS(Conversation conversation, int position){ SmsFragment fragment = new SmsFragment(); SmsBaseFragment.setArgs(fragment, conversation, position); return fragment; } public static MmsFragment MMS(Conversation conversation, int position){ MmsFragment fragment = new MmsFragment(); SmsBaseFragment.setArgs(fragment, conversation, position); return fragment; } }