Search in sources :

Example 16 with PublishBean

use of org.aisen.weibo.sina.support.bean.PublishBean in project AisenWeiBo by wangdan.

the class PublishStatusFragment method generateBean.

public static PublishBean generateBean() {
    PublishBean bean = new PublishBean();
    bean.setStatus(PublishStatus.create);
    bean.setType(PublishType.status);
    Params params = new Params();
    // 默认所有人可见
    params.addParameter("visible", "0");
    bean.setParams(params);
    return bean;
}
Also used : PublishBean(org.aisen.weibo.sina.support.bean.PublishBean) Params(org.aisen.android.network.http.Params)

Aggregations

PublishBean (org.aisen.weibo.sina.support.bean.PublishBean)16 Params (org.aisen.android.network.http.Params)8 Intent (android.content.Intent)3 SpannableString (android.text.SpannableString)2 View (android.view.View)2 HorizontalScrollView (android.widget.HorizontalScrollView)2 ImageView (android.widget.ImageView)2 TextView (android.widget.TextView)2 File (java.io.File)2 ObjectAnimator (android.animation.ObjectAnimator)1 Uri (android.net.Uri)1 Message (android.os.Message)1 LinearLayout (android.widget.LinearLayout)1 PhotoChoice (org.aisen.android.common.utils.PhotoChoice)1 ImageConfig (org.aisen.android.component.bitmaploader.core.ImageConfig)1 SdcardDownloader (org.aisen.android.component.bitmaploader.download.SdcardDownloader)1 ABaseFragment (org.aisen.android.ui.fragment.ABaseFragment)1 PublishType (org.aisen.weibo.sina.support.bean.PublishType)1