orhanobut/dialogplus được TopGit xếp vào nhóm dự án di động, với 5.0k sao trên GitHub, viết chủ yếu bằng Java. Advanced dialog solution for android
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/orhanobut/dialogplus là nguồn chính thức.
orhanobut/dialogplus có những chủ đề gì?
GitHub topics của orhanobut/dialogplus: "android", "bottom-sheet", "dialog", "java", "kotlin". TopGit xếp repo vào nhóm Mobile.
orhanobut/dialogplus có phải mã nguồn mở không?
Có — orhanobut/dialogplus phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/orhanobut/dialogplus.
orhanobut/dialogplus có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho orhanobut/dialogplus. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
orhanobut/dialogplus còn đang phát triển không?
Commit gần nhất trên orhanobut/dialogplus là 4.6 năm trước (theo timestamp GitHub). Repo có 780 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
orhanobut/dialogplus dùng license gì?
orhanobut/dialogplus phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc dialogplus có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về dialogplus.