All Projects → mikepenz → Storyblok-Android-SDK

mikepenz / Storyblok-Android-SDK

Licence: Apache-2.0 license
Storyblok MP SDK available here: https://github.com/mikepenz/storyblok-mp-SDK

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Storyblok-Android-SDK

Awesome Android Ui
😎😍Android libs and UI from GitHub or other websites. android libs from Github
Stars: ✭ 33 (+153.85%)
Mutual labels:  android-sdk, android-ui
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (+761.54%)
Mutual labels:  android-sdk, android-ui
Androidkex
Extensions for Kotlin. Use the power of Kotlin to make your code smaller and beautiful.
Stars: ✭ 35 (+169.23%)
Mutual labels:  android-sdk, android-ui
media-picker
Easy customizable picker for all your needs in Android application
Stars: ✭ 167 (+1184.62%)
Mutual labels:  android-sdk, android-ui
Awesomedialog
A Beautiful Dialog Library for Kotlin Android
Stars: ✭ 163 (+1153.85%)
Mutual labels:  android-sdk, android-ui
Motiontoast
🌈 A Beautiful Motion Toast Library for Kotlin Android
Stars: ✭ 767 (+5800%)
Mutual labels:  android-sdk, android-ui
Mediapicker
Easy customizable picker for all your needs in Android application
Stars: ✭ 105 (+707.69%)
Mutual labels:  android-sdk, android-ui
Android-daily-read-tips
log for articles and info in android for every developer
Stars: ✭ 13 (+0%)
Mutual labels:  android-sdk, android-ui
Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (+953.85%)
Mutual labels:  android-sdk, android-ui
Uistatus
一个简单且强大的Ui状态视图控制库!
Stars: ✭ 137 (+953.85%)
Mutual labels:  android-sdk, android-ui
Android Arsenal.com
Source to android-arsenal.herokuapp.com
Stars: ✭ 541 (+4061.54%)
Mutual labels:  android-sdk, android-ui
GitReposCompose
GitReposCompose is an Android application 📱 for showcasing Jetpack Compose for building declarative UI in Android. This demo app uses Github public API for fetching public repositories.
Stars: ✭ 32 (+146.15%)
Mutual labels:  android-sdk, android-ui
Awesome Android Ui
😎 A curated list of awesome Android UI/UX libraries
Stars: ✭ 353 (+2615.38%)
Mutual labels:  android-sdk, android-ui
Morphing Material Dialogs
Material dialog ❤️ morphing animation. An android kotlin UI library for building beautiful animations for converting a floating action button into a material dialog.
Stars: ✭ 806 (+6100%)
Mutual labels:  android-sdk, android-ui
CustomFontView
Custom View classes for TextView, EditText & Buttons - to set custom fonts
Stars: ✭ 26 (+100%)
Mutual labels:  android-sdk, android-ui
Grocerystore With Server
Grocery Store with server integration
Stars: ✭ 51 (+292.31%)
Mutual labels:  android-sdk, android-ui
Materialdrawer
The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.
Stars: ✭ 11,498 (+88346.15%)
Mutual labels:  android-ui, mikepenz
Aboutlibraries
AboutLibraries automatically detects all dependencies of a project and collects their information including the license. Optionally visualising it via the provided ui components.
Stars: ✭ 2,777 (+21261.54%)
Mutual labels:  android-ui, mikepenz
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (+776.92%)
Mutual labels:  android-sdk, android-ui
Modern Android Development
Modern Android Development tools & key points
Stars: ✭ 219 (+1584.62%)
Mutual labels:  android-sdk, android-ui

Storyblok Kotlin Multiplatform SDK

Please find the new Kotlin multiplatform SDK available here: https://github.com/mikepenz/storyblok-mp-SDK

Storyblok-Android-SDK [Deprecated]

This is the Storyblok Android client for easy access of the publishing api.

More about Storyblok

Include in your project

Using Maven

implementation "com.mikepenz:storyblok-android-sdk:1.0.0"

Note starting with v1.0.0 this library uses kotlin. See older versions for java only.

How to use

Init client

val client = Storyblok.init("your-storyblok-token")

Load a story

client.getStory("fullSlug", object : Storyblok.SuccessCallback<Story> {
    override fun onResponse(result: Result<Story>) {
        //on success
    }
}, object : Storyblok.ErrorCallback {
    override fun onFailure(exception: IOException?, response: String?) {
        // empty
    }
})

Load a list of stories

client.getStories(startsWith, withTag, sortBy, perPage, page, object : Storyblok.SuccessCallback<List<Story>> {
    override fun onResponse(result: Result<List<Story>>) {
        //on success
    }
}, object : Storyblok.ErrorCallback {
    override fun onFailure(exception: IOException?, response: String?) {
        // empty
    }
})

Load a list of tags

client.getTags(startsWith, object : Storyblok.SuccessCallback<List<Tag>> {
    override fun onResponse(result: Result<List<Tag>>) {
        //on success
    }
}, object : Storyblok.ErrorCallback {
    override fun onFailure(exception: IOException?, response: String?) {
        // empty
    }
})

Load a map of links

client.getLinks(object : Storyblok.SuccessCallback<Map<String, Link>> {
    override fun onResponse(result: Result<Map<String, Link>>) {
        //on success
    }
}, object : Storyblok.ErrorCallback {
    override fun onFailure(exception: IOException?, response: String?) {
        // empty
    }
})

Load a list of datasources

client.getDatasource(datasource, object : Storyblok.SuccessCallback<List<Datasource>> {
    override fun onResponse(result: Result<List<Datasource>>) {
        //on success
    }
}, object : Storyblok.ErrorCallback {
    override fun onFailure(exception: IOException?, response: String?) {
        // empty
    }
})

Libs used in sample app:

Mike Penz:

Developed By

Contributors

This free, open source software was also made possible by a group of volunteers that put many hours of hard work into it. See the CONTRIBUTORS.md file for details.

License

Copyright 2019 Mike Penz

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].