Giter Club home page Giter Club logo

Comments (12)

452MJ avatar 452MJ commented on August 27, 2024

可以的,只能看熊猫是因为我写死了live_type = panda

public void getLiveList(int offset, int limit, String game_type) {
        RetrofitHelper.getLiveHelper().create(LiveAPI.class)
                .getLiveList(offset, limit, game_type, "panda")
                .compose(RetrofitHelper.<List<LiveListItemBean>>handleLiveResult())
                .subscribe(new HttpSubscriber<List<LiveListItemBean>>() {
                    @Override
                    public void _onNext(List<LiveListItemBean> roomBeanList) {
                        view.updateRecyclerView(roomBeanList);
                    }

                    @Override
                    public void _onError(String message) {
                        view.showError(message);
                    }
                });
    }

https://github.com/452MJ/C9MJ/blob/master/app/src/main/java/com/c9mj/platform/live/mvp/presenter/impl/LiveListPresenterImpl.java

具体效果你可以下载Max+的App,我是抓他们的包来分析API的。所有直播平台都有,游戏类型只有5个

from c9mj.

452MJ avatar 452MJ commented on August 27, 2024

改为getLiveList(offset, limit, game_type, "")就是全平台了

from c9mj.

452MJ avatar 452MJ commented on August 27, 2024

全屏透明的话,我还未开发完全,后面再慢慢测试调试

from c9mj.

xiaokun19931126 avatar xiaokun19931126 commented on August 27, 2024

上班只能看一会儿,下好了准备回家看看,嘿嘿😁。

from c9mj.

452MJ avatar 452MJ commented on August 27, 2024

还有些小问题的,就是我还没弄常亮。过段时间会变暗,最近在开发另外的模块

from c9mj.

452MJ avatar 452MJ commented on August 27, 2024

加上屏幕常亮跟全平台直播了,之前看斗鱼的话会报403,现在不知道会不会了

from c9mj.

xiaokun19931126 avatar xiaokun19931126 commented on August 27, 2024

嗯,常亮的代码是在LivePlayActivity类里吗,找半天没找到啊。话说我自己发的檀木别人看不到的吧?

from c9mj.

452MJ avatar 452MJ commented on August 27, 2024

常亮在onResume()跟onPause()里面,弹幕都是离线本地添加而已,没有发送数据包到服务器的。

from c9mj.

xiaokun19931126 avatar xiaokun19931126 commented on August 27, 2024

直播页面的indicator在0位置的时候,左滑会滑倒首页,这个有点懵逼....禁掉会不会好点

from c9mj.

452MJ avatar 452MJ commented on August 27, 2024

看个人习惯吧,因为 我也是做个Demo练手而已,没考虑那么多。你自己改改吧

from c9mj.

xiaokun19931126 avatar xiaokun19931126 commented on August 27, 2024

看了你其他项目,刚毕业就这么牛逼,强了

from c9mj.

452MJ avatar 452MJ commented on August 27, 2024

那些小demo就别说了,难度不大。现在才做个像样的而已。谢谢赞赏+_+

from c9mj.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.