Back to project page LheidoSMS.
The source code is released under:
GNU General Public License
If you think the Android project LheidoSMS 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 com.lheidosms.utils; //from w ww . ja v a 2s . c o m /** * Created by lheido on 31/10/14. */ import com.lheidosms.fragment.MmsFragment; import com.lheidosms.fragment.SmsBaseFragment; import com.lheidosms.fragment.SmsFragment; /** * SMS/MMS fragment builder. */ public class BuildFragment { public static SmsFragment SMS(LheidoContact contact, int position){ SmsFragment fragment = new SmsFragment(); SmsBaseFragment.setArgs(fragment, contact, position); return fragment; } public static MmsFragment MMS(LheidoContact contact, int position){ MmsFragment fragment = new MmsFragment(); SmsBaseFragment.setArgs(fragment, contact, position); return fragment; } }