use of com.hotbitmapgg.bilibili.module.common.MainActivity in project bilibili-android-client by HotBitmapGG.
the class SettingFragment method finishCreateView.
@SuppressLint("SetTextI18n")
@Override
public void finishCreateView(Bundle state) {
mToolbar.setTitle("设置与帮助");
mToolbar.setNavigationIcon(R.drawable.ic_navigation_drawer);
mToolbar.setNavigationOnClickListener(v -> {
Activity activity1 = getActivity();
if (activity1 instanceof MainActivity) {
((MainActivity) activity1).toggleDrawer();
}
});
mVersionCode.setText("v" + getVersionCode());
}
use of com.hotbitmapgg.bilibili.module.common.MainActivity in project bilibili-android-client by HotBitmapGG.
the class AttentionPeopleFragment method finishCreateView.
@Override
public void finishCreateView(Bundle state) {
mToolbar.setTitle("关注的人");
mToolbar.setNavigationIcon(R.drawable.ic_navigation_drawer);
mToolbar.setNavigationOnClickListener(v -> {
Activity activity1 = getActivity();
if (activity1 instanceof MainActivity) {
((MainActivity) activity1).toggleDrawer();
}
});
mCustomEmptyView.setEmptyImage(R.drawable.img_tips_error_no_following_person);
mCustomEmptyView.setEmptyText("你还没有关注的人哟");
}
use of com.hotbitmapgg.bilibili.module.common.MainActivity in project bilibili-android-client by HotBitmapGG.
the class ConsumeHistoryFragment method finishCreateView.
@Override
public void finishCreateView(Bundle state) {
mToolbar.setTitle("我的钱包");
mToolbar.setNavigationIcon(R.drawable.ic_navigation_drawer);
mToolbar.setNavigationOnClickListener(v -> {
Activity activity1 = getActivity();
if (activity1 instanceof MainActivity) {
((MainActivity) activity1).toggleDrawer();
}
});
mCustomEmptyView.setEmptyImage(R.drawable.ic_movie_pay_area_limit);
mCustomEmptyView.setEmptyText("你还没有消费记录哟");
}
use of com.hotbitmapgg.bilibili.module.common.MainActivity in project bilibili-android-client by HotBitmapGG.
the class HistoryFragment method finishCreateView.
@Override
public void finishCreateView(Bundle state) {
mToolbar.setTitle("历史记录");
mToolbar.setNavigationIcon(R.drawable.ic_navigation_drawer);
mToolbar.setNavigationOnClickListener(v -> {
Activity activity1 = getActivity();
if (activity1 instanceof MainActivity) {
((MainActivity) activity1).toggleDrawer();
}
});
mCustomEmptyView.setEmptyImage(R.drawable.ic_movie_pay_order_error);
mCustomEmptyView.setEmptyText("暂时还没有观看记录哟");
}
use of com.hotbitmapgg.bilibili.module.common.MainActivity in project bilibili-android-client by HotBitmapGG.
the class IFavoritesFragment method finishCreateView.
@Override
public void finishCreateView(Bundle state) {
mToolbar.setTitle("我的收藏");
mToolbar.setNavigationIcon(R.drawable.ic_navigation_drawer);
mToolbar.setNavigationOnClickListener(v -> {
Activity activity1 = getActivity();
if (activity1 instanceof MainActivity) {
((MainActivity) activity1).toggleDrawer();
}
});
mCustomEmptyView.setEmptyImage(R.drawable.img_tips_error_fav_no_data);
mCustomEmptyView.setEmptyText("没有找到你的收藏哟");
}
Aggregations