Code Monkey home page Code Monkey logo

htmltext's Introduction

Moin folks 👋, I'm Alex

Employeed as senior developer mobile at Dataport AöR and also working as freelancer android developer

Ch4rl3x's GitHub stats

Projects

Name    Stars    Description              MavenCentral             
Kotlin Multiplatform
settings-multiplatform GitHub Repo stars A Kotlin Multiplatform AndroidX DataStore Maven Central
Jetpack Compose
SpeedDialFloatingActionButton GitHub Repo stars SpeedDial / MultiSelection - FloatingActionButton Maven Central
RevealSwipe GitHub Repo stars Compose RevealSwipe Maven Central
BottomDrawerScaffold GitHub Repo stars Compose BottomDrawerScaffold Maven Central
HtmlText GitHub Repo stars Compose HtmlText Maven Central
settings-compose GitHub Repo stars Settings Compose Maven Central
compose-cache GitHub Repo stars Compose Cache Maven Central
textfield-unit GitHub Repo stars TextField with unit Maven Central
Android
settings GitHub Repo stars A simplified use of SharedPreferences Maven Central
billing-suspend GitHub Repo stars Suspendable Helper for access BillingClient. It also includes a client-side token validation, if there is not server available Maven Central

htmltext's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

htmltext's Issues

Image support

Hi thanks for the great library, it would be great if we able to show the image here as well

bullet span needs to add ul

"<ul>\r\n<li>&nbsp;25% off one item of your choice&nbsp;</li>\r\n<li>Early access and exclusive offers</li>\r\n<li>Inspiration and style tips</li>\r\n</ul>\r\n<p>Our commitment is to protect your data &amp; privacy.</p>\r\n"

onClick/clickable functionality breaks when using HtmlText

If a parent composable is listening for clicks, the HtmlText stops the clicks from occurring. Here is an example:

    Column {
        Card(
            modifier = Modifier.clickable {
                println("Clicked the html card!") // never triggers
            }
        ) {
            HtmlText(text = "Some <b>bolded and cool</b> text that should click")
        }

        Button(
            onClick = {
                println("Clicked the html button!") // never triggers
            }
        ) {
            HtmlText(text = "Some <b>bolded and cool</b> button")
        }

        Card(
            modifier = Modifier.clickable {
                println("Clicked the non-html card!") // always triggers
            }
        ) {
            Text(text = "Some <b>bolded and cool</b> text that should click")
        }

        Button(
            onClick = {
                println("Clicked the non-html button!") // always triggers
            }
        ) {
            Text(text = "Some <b>bolded and cool</b> button")
        }
    }

What it looks like in preview:
image

Material dependency version

Currently you have material dependency in buildCompose.gradle like this:
implementation "androidx.compose.material:material:$compose_version"

which is wrong because compose version and material version is not the same. Currently compose version is 1.2.0 and materil is 1.6.1

[Feature Request] Please add Image support for HTML page

Please add support for ImageLoading in middle of HTML page.

If any tag occurs in middle of HTML content then please add AsyncImage call from Coil Image Loading Library to display the Image Content.

I believe this library should be using Column to display HTML content into views?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.