|
|
@@ -15,9 +15,11 @@ import com.sheep.gamegroup.di.components.DaggerWithdrawalComponent;
|
|
|
import com.sheep.gamegroup.di.modules.WithdrawalModule;
|
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
|
import com.sheep.gamegroup.model.entity.GridViewEntity;
|
|
|
+import com.sheep.gamegroup.model.entity.UserEntity;
|
|
|
import com.sheep.gamegroup.presenter.WithdrawalContract;
|
|
|
import com.sheep.gamegroup.presenter.WithdrawalPresenter;
|
|
|
import com.sheep.gamegroup.util.Jump2View;
|
|
|
+import com.sheep.gamegroup.util.MyDbManager;
|
|
|
import com.sheep.gamegroup.view.adapter.WithdrawalAdapter;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
@@ -26,6 +28,7 @@ import com.sheep.jiuyan.samllsheep.utils.G;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
|
|
|
|
import org.greenrobot.eventbus.EventBus;
|
|
|
+import org.xutils.ex.DbException;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
@@ -48,6 +51,8 @@ public class WithdrawalAct extends BaseActivity implements WithdrawalContract.Vi
|
|
|
GridView withdrawalGreidview;
|
|
|
@BindView(R.id.withdrawal_sure)
|
|
|
TextView withdrawalSure;
|
|
|
+ @BindView(R.id.weixin_name_tv)
|
|
|
+ TextView weixin_name_tv;
|
|
|
|
|
|
Activity activity;
|
|
|
@Inject
|
|
|
@@ -104,6 +109,15 @@ public class WithdrawalAct extends BaseActivity implements WithdrawalContract.Vi
|
|
|
|
|
|
@Override
|
|
|
public void initData() {
|
|
|
+
|
|
|
+ try {
|
|
|
+ UserEntity userEntity = MyDbManager.getInstance().dbFindUser();
|
|
|
+ if(userEntity != null){
|
|
|
+ weixin_name_tv.setText(userEntity.getWx_nickname() +"");
|
|
|
+ }
|
|
|
+ } catch (DbException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|