Sendtion

Results 30 comments of Sendtion

@githubwing compile 'com.github.githubwing:ByeBurger:1.2.3' 小米5 MIUI8 7.0 是必须在子view下才有效吗?

的确有这样的问题,先换别的用了

@tcking 我就是在onViewCreated中初始化的,GiraffePlayer初始化需要传入Activity,我使用getActivity传入不可行,或者有什么别的方法传入activity?

@tcking 没错啊,我就是这样做的。 **fragment_tab_learning.xml** ` ``` ``` ` **TabLearningFargment.java** `@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_tab_learning, null); //iv_learning_banner = (ImageView) view.findViewById(R.id.iv_learning_banner); rv_list_learning = (XRecyclerView)...

@tcking 仍然不行。 `@Override public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); player = new GiraffePlayer(getActivity()); }` `View liveBox = activity.findViewById(R.id.app_video_box); liveBox.setClickable(true);` 这里报错,错误如下。 `java.lang.NullPointerException: Attempt to invoke virtual method...

android-async-http 1.4.9 : java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 8080) after 3000ms: isConnected failed: ECONNREFUSED (Connection refused)