-
-
MyBaseModel info = JSON.parseObject(response.get().toString(), MyBaseModel.class);
if (info.getState() == Constants.SUCCEED) {
AllOrder acty = JSON.parseObject(…
-
我打开了不保留活动,在fragment使用matisse时,返回发现fragment为空,然后会出发再次创建逻辑,但原来的又没有销毁
-
Here is my code:
`@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
applicationContext = AndroidAppHelper.currentApplication().getApp…
-
demo里面的
`
ToastUtils.setBgResource(R.drawable.shape_round_rect);
ToastUtils.showLong(R.string.toast_custom_bg);
`
即可正常显示带背景的toast,然而,在自己的项目里面使用ToastUtils时候(未做删改),字体与背景显得比较拥挤,不知道demo项目有什么特…
-
版本:2.9.38
DataBinding: V2
Adapter:
```kotlin
class MovieHotAdapter : BaseQuickAdapter(R.layout.item_film) {
override fun convert(helper: ViewHolder, item: Film) {
val binding = helpe…
-
建议不要修改ToastUtils默认样式。看着很别扭。
-
i am trying to load my account header background and header item icon as url but it doesn't work instead it will keep placeholders.
## code
```
private void setUpDrawer() {
//initializ…
-
## 需求:
类似web中登录后跳转到具体页面,在app的某个位置NormalActivity(fragment/activity),点击进入另外一个需要登录才能访问的页面(NeedLoginActivity)。判断发现用户未登录,跳到登录页面(LoginActivity)。登录成功以后希望跳转到NeedLoginActivity,并且带有原始调用NeedLoginActivity时候的bund…
-
```
public void onAction(int requestCode, @NonNull ArrayList result) {
ToastUtils.showShort(result.get(0).getPath());
String s = result.get(0).getPat…