CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 23:48:00 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"ed69755f0e03603ee86443f4f5639955"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Ah%2FZC1qRhyCAd1ezY3DtEwsGWtdrl5Q8DyiygAh0d3XGIZCQ9dJJpQNCPxk756pRsAG9IBRDjZE5Om%2F8NYzDphBdElbpkHcAMt4KF662GXjsYwYc1vU2BriAXD3L89vFJzbT4T7%2BuhK9wy4rbKUoHQWbJ4uu2cfs74ZPRyUvHOfTNeHmHTofdseRc0uWHEqzSsdFdGpLW5D6th8BWOVMIfGX8iFB340UTfdQJZorPtZ9YrxLz9gBl%2BDBaDZ5DUO7hDbyI65%2FlI87k54vRlCurA%3D%3D--3cVHL%2BvgT3ciph63--khGzfW%2BFjmt6SfitE6Psig%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.535619372.1753314479; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:47:59 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:47:59 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BE62:23E99C:6AACD:A59C4:688174AF
Migration · st235/ExpandableBottomBar Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 58
Migration
Alexander Dadukin edited this page Apr 3, 2021
·
9 revisions
Removed methods:
Name | Use |
---|---|
ExpandableBottomBar#setNotificationBadgeBackgroundColor | Was removed due to undefined behaviour in a few cases |
ExpandableBottomBar#setNotificationBadgeBackgroundColorRes | Was removed due to undefined behaviour in a few cases |
ExpandableBottomBar#setNotificationBadgeTextColor | Was removed due to undefined behaviour in a few cases |
ExpandableBottomBar#setNotificationBadgeTextColorRes | Was removed due to undefined behaviour in a few cases |
ExpandableBottomBar#getMenuItemFor | Menu#findItemById |
ExpandableBottomBar#getNotificationFor | Was completely removed due to deprecation level |
ExpandableBottomBar#addItems | Menu#add |
ExpandableBottomBar#getMenuItems | Menu#items or Menu#iterator |
ExpandableBottomBar#select | Menu#select |
ExpandableBottomBar#getSelected | Menu#selectedItem |
New methods:
Method | Description |
---|---|
Menu#deselect | Removes selection from the selected item and selects the first visible item in menu |
Menu#remove | Removes the given menu item |
Menu#removesAll | Removes all menu items |
Changed signature:
Method | Description |
---|---|
MenuItem#hide | Does not throw an exception if hide was performed on the selected item, in that case calls deselect from menu |
Note: Introduced Menu
class
Renamed the following classes:
Was | Now |
---|---|
ExpandableBottomBarMenuItem | MenuItemDescriptor |
ItemBuildRequest | BuildRequest |
ExpandableBottomBarNotification | Notification |
Deprecated methods:
Was | Use |
---|---|
ExpandableBottomBar#getNotificationFor | expandableBottomBar.getMenuItemFor(id).notification() |
New methods:
Method | Description |
---|---|
ExpandableBottomBar#getMenuItemFor(@IdRes id: Int) | Returns menu item for the given id |
ExpandableBottomBar#getMenuItems() | Returns all menu items |
Note: Introduced MenuItem
class
Migration XML declared menu property from app:exb_icon
to native android:icon
. Now you can reuse your whole android xml file between bottom bar and any android menu.
To avoid conflict in user custom view attributes names we have implemented view attributes extension exb_
and menu items.
Update note: really huge update, made with ❤️
Description | Was | Now |
---|---|---|
onItemClickListener removed |
bottomBar.onItemClickListener = { v, i -> } |
bottomBar.onItemSelectedListener = { v, i -> } |
ExpandableBottomBarMenuItem.Builder.addItem(Int, Int, CharSequence, Int) removed |
.addItem(R.id.icon_home, R.drawable.ic_home, "Raw Text", Color.GRAY) |
.addItem(R.id.icon_likes, R.drawable.ic_likes).text("Raw Text").colorRes(R.color.colorLike).create() |
constraint layout's behavior classes moved into behavior package |
app:layout_behavior="github.com.st235.lib_expandablebottombar.ExpandableBottomBarScrollableBehavior" |
app:layout_behavior="github.com.st235.lib_expandablebottombar.behavior.ExpandableBottomBarScrollableBehavior" |
Update note: for competent work with newer versions of the library, you may need to replace the Items Builders code.
Description | Was | Now |
---|---|---|
Changes at ExpandableBottomBarMenuItem.Builder 's constructor |
ExpandableBottomBarMenuItem.Builder() |
ExpandableBottomBarMenuItem.Builder(context = this) |
Clone this wiki locally
You can’t perform that action at this time.