A mobile-focused entry in TopGit's GitHub warehouse: orhanobut/dialogplus, 5.0k stars, Mobile, Java. Advanced dialog solution for android
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Use GridHolder if you want to use GridView for the dialog. You must set column number.
.setContentHolder(new GridHolder(COLUMN_NUMBER))
Get the holder view, ListView, GridView or your custom view
View view = dialogPlus.getHolderView();
Set dialog position. BOTTOM (default), TOP or CENTER. You can also combine other Gravity options.
.setGravity(Gravity.CENTER)
Define if the dialog is cancelable and should be closed when back pressed or out of dialog is clicked
.setCancelable(true)
Set Adapter, this adapter will be used to fill the content for ListHolder and GridHolder. This is required if the content holder is ListHolder or GridHolder. It is not required if the content holder is ViewHolder.
.setAdapter(adapter);
Set an item click listener when list or grid holder is chosen. In that way you can have callbacks when one of your items is clicked
.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(DialogPlus dialog, Object item, View view, int position) {
}
})
Set a global click listener to you dialog in order to handle all the possible click events. You can then identify the view by using its id and handle the correct behaviour. Only views which has id will trigger this event.
Change content container background, as default white
.setContentBackgroundResource(resource)
Change overlay container background, as default it's semi-transparent black
.setOverlayBackgroundResource(resource)
License
Copyright 2016 Orhan Obut
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
No homepage URL was recorded for orhanobut/dialogplus in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
How active is development on orhanobut/dialogplus?
The most recent commit recorded on orhanobut/dialogplus was 4.6 years ago, based on the GitHub push timestamp. The repository has 780 forks — one of the better signals of community interest.
Is orhanobut/dialogplus open source?
Yes — orhanobut/dialogplus ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/orhanobut/dialogplus.
What license does orhanobut/dialogplus use?
orhanobut/dialogplus is released under the Apache-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
What topics is orhanobut/dialogplus associated with?
GitHub's repository topics for orhanobut/dialogplus: "android", "bottom-sheet", "dialog", "java", "kotlin". TopGit's editorial category is Mobile.
Where do I read more about orhanobut/dialogplus?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/orhanobut/dialogplus is the definitive source.
Read full README in the tab above.
Want a second opinion on dialogplus?
Ask an AI that can read this page — one click and you get its take on dialogplus.