Description
A business hours picker lib for Android
Want to add a business hours picker and viewer in your application? Try this library !
Support for Android 4.0.3 ( api 19 ) and up
Feel free to fork or issue pull requests on github. Issues can be reported on the github issue tracker.
Business Hours Picker alternatives and similar packages
Based on the "Component" category.
Alternatively, view Business Hours Picker alternatives based on common mentions on social networks and blogs.
-
AppUpdater
A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required. -
QREader
:white_square_button: [Android Library] Read QR codes using google's mobile vision api, but without the hassle -
InAppUpdater
Android Library to easily implement in-app updates. Support with a :star: Contributions are welcome! :raised_hands: -
Butterfly
Butterfly - A full-featured navigation framework that supports Activity、Fragment and Compose -
ChatVoicePlayer
DISCONTINUED. An Android library to make the implementation of voice/audio messages' playing easier [GET https://api.github.com/repos/cergo123/ChatVoicePlayer: 404 - Not Found // See: https://docs.github.com/rest] -
ContentManager
Android library for getting photo or video from a device gallery, cloud or camera. Working with samsung devices. Made by Stfalcon -
Attribouter
A lightweight "about screen" library to allow quick but customizable attribution in Android apps. -
EasyMoney-Widgets
The widgets (EditText and TextView) for support of money requirements like currency, number formatting, comma formatting etc.
Nutrient - The #1 PDF SDK Library

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Business Hours Picker or a related project?
README
Business Hours Picker
A business hours picker lib for Android
Want to add a business hours picker and viewer in your application? Try this library !
Support for Android 4.0.3 ( api 19 ) and up
Feel free to fork or issue pull requests on github. Issues can be reported on the github issue tracker.
Installation
Step 1 : Add jitpack to your build.gradle file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2 : Add the dependency
implementation 'com.github.bashizip:business-hours-picker-kt:Tag'
## How to use it
First Add the picker and the viewer you want to use in your layout files. The library has 4 main components, 2 Pickers and 2 viewer respectively :
BusinessHoursPicker
Use it to pick a single business day
<com.bashizip.bhlib.BusinessHoursPicker
app:dayOfWeek="Monday"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
BusinessHoursWeekView
Use it to pick a full week of business days from monday to sunday
<com.bashizip.bhlib.BusinessHoursWeekView
android:id="@+id/bh_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
BusinessHoursView
Use it to display a single business day
<com.bashizip.bhlib.BusinessHourView
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
BusinessHoursWeekView
Use it to display a full week of business days
<com.bashizip.bhlib.BusinessHoursWeekView
android:id="@+id/bh_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
The picker activity of fragment
val bhs = mBusinessHoursWeekView.businessHoursList
The viewer activity or fragment
// Just call the setModel method and it's done !
businessHoursWeekView.setModel(businessHoursList)
See the full sample app for more details.
## Potential impovements
* More styling
* Kotlin version (here it is :-) )
## Licence
MIT License
Copyright (c) [2019] [Patrick Bashizi]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*Note that all licence references and agreements mentioned in the Business Hours Picker README section above
are relevant to that project's source code only.