小编Moh*_*kia的帖子

Google Play 控制台警告:未知验证 VALIDATE_APP_MESSAGE_ICON_NOT_UNIFORM

当我尝试将捆绑包上传到 Google Play 控制台上的 Alpha 频道时,它向我显示以下警告: 在此处输入图片说明

上传mappingnative-debug-symbols文件后显示警告。

android google-play google-play-console

35
推荐指数
1
解决办法
6465
查看次数

Android Admob InterstitialAd 已弃用

更新后com.google.android.gms:play-services-ads19.7.0 它说InterstitialAdRewardedVideoAdUnifiedNativeAdView弃用。

有人可以帮忙吗?

android deprecated admob

13
推荐指数
2
解决办法
9577
查看次数

在滚动完成之前,Recyclerview不能平滑滚动

我有滚动问题.我的意思是滚动速度很快,但在滚动完成之前看起来像是滞后.在这里我定义__CODE__:

RecyclerView recyclerView=fragment.getRecyclerView();
        LinearLayoutManager layoutManager = new LinearLayoutManager(fragment.getActivity(), LinearLayoutManager.VERTICAL, false);
        recyclerView.setLayoutManager(layoutManager);
        recyclerView.addItemDecoration(new DividerItemDecoration(fragment.getActivity(), LinearLayoutManager.VERTICAL));
 ArrayList<InstaPostModel> rowListItems=getInstaPostListSample();
        InstaPostAdapter rcAdapter = new InstaPostAdapter(rowListItems);
        recyclerView.setAdapter(rcAdapter);
Run Code Online (Sandbox Code Playgroud)

这是__CODE__.

@Override
public void onBindViewHolder(ViewHolder holder, int position) {
    final InstaPostModel p = items.get(position);
    context = holder.itemView.getContext();
    Glide.with(context).load(R.mipmap.mee_small).into(holder.userPhoto);
    Glide.with(context).load(R.drawable.post_image).into(holder.photo_content);
    Glide.with(context).load(R.mipmap.love_gray_icon).into(holder.bt_like);
    Glide.with(context).load(R.mipmap.comment_icon).into(holder.bt_comment);
    Glide.with(context).load(R.mipmap.share_icon).into(holder.bt_share);

    holder.userNameTextView.setText(p.getPosterUserName());
    holder.postContent.setText(p.getText());
    holder.post_date.setReferenceTime(p.getDate().getTime());
}
Run Code Online (Sandbox Code Playgroud)

这是 __CODE__

<?xml version="1.0" encoding="utf-8"?>

    <android.support.v7.widget.RecyclerView
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/qatar_now_posts_recycler_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scrollbars="none"
        tools:context=".uis.fragments.home.QatarNowFragment"
        />
Run Code Online (Sandbox Code Playgroud)

编辑

我有一个底部导航栏__CODE__,它在滚动时显示.

编辑2

这是显示滞后的视频链接.

编辑3

也许我在测试应用程序时发现了问题.我看到图表和应用程序从Ram内存大约120 MB,但仍然不知道如何解决这个问题.

编辑4

__CODE__ 类 …

android smooth-scrolling recycler-adapter android-recyclerview recyclerview-layout

9
推荐指数
1
解决办法
1901
查看次数

getInstallerPackageName(字符串):字符串?已弃用。在 Java 中已弃用

我写了一个简单的声明,如下所示:

val installer = context.packageManager.getInstallerPackageName(context.packageName)
Run Code Online (Sandbox Code Playgroud)

但现在它已被弃用,如图所示:

在此输入图像描述

是否有任何替代方法可以获取已安装您的应用程序的应用程序的包名称?

android deprecated

5
推荐指数
1
解决办法
6618
查看次数

Firebase:加载 /apis/library/androidcheck.googleapis.com?authuser=1&amp;project=enduring-sign-274118 时出错。请再试一次

在此输入图像描述

您好,我在使用电话号码在 Android 上启用 Firebase 身份验证时遇到错误,有人知道如何解决此问题吗?这是完整的错误文本:

There was an error while loading /apis/library/androidcheck.googleapis.com?authuser=1&project=enduring-sign-274118. Please try again.

Request ID: 10375038218392837291
Run Code Online (Sandbox Code Playgroud)

提前致谢。

mobile android firebase firebase-authentication

5
推荐指数
0
解决办法
591
查看次数