master.flame.danmaku.ui.widget.DanmakuView Java Examples
The following examples show how to use
master.flame.danmaku.ui.widget.DanmakuView.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DanmakuVideoPlayer.java From GSYVideoPlayer with Apache License 2.0 | 5 votes |
@Override protected void init(Context context) { super.init(context); mDanmakuView = (DanmakuView) findViewById(R.id.danmaku_view); mSendDanmaku = (TextView) findViewById(R.id.send_danmaku); mToogleDanmaku = (TextView) findViewById(R.id.toogle_danmaku); //初始化弹幕显示 initDanmaku(); mSendDanmaku.setOnClickListener(this); mToogleDanmaku.setOnClickListener(this); }