use of com.rideread.rideread.common.adapter.PostPicAdapter in project ride-read-android by Ride-Read.
the class PostMomentActivity method initView.
@Override
public void initView() {
new TitleBuilder(this).setTitleText("发个阅圈").IsBack(true).setRightText("发送").build();
//设置布局管理器
LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this);
linearLayoutManager.setOrientation(LinearLayoutManager.HORIZONTAL);
mRvPicContainer.setLayoutManager(linearLayoutManager);
//设置适配器
mPostPicAdapter = new PostPicAdapter(this, mSelectedPics);
mRvPicContainer.setAdapter(mPostPicAdapter);
mTvPostLoc.setText(AMapLocationUtils.getLocDetail());
}
Aggregations