SteemApp Editor for Android Pimped Up 🆙 and Completely Rewritten 📝

in utopian-io •  4 months ago

Repository

https://github.com/BoomApps-LLC/SteemApp-Android

Desription of a new feature for editor in SteemApp

We have not found a single editor for Android, which could know which formatting is forced on the word user just tapped. Android's native editor is no good at all. So we decided to write this code by ourselves and make all of it open source for everyone to use.

We have many styles available for our SteemApp users such as Bold, Italic, Underline, Strikethrough, H1, H2, H3, lists etc. right at their fingertips above the keyboard. However, without clear understanding what styles are added, it makes it really hard to use them all.

Now the editor knows exactly where user has pointed and highlights all the styles and formatting, which is implemented to this word. This pull request is to be merged and released tomorrow with the next Android update.

How did you implement it/them?

Main problem in current version of editor is situation when user taps on text into editor and control panel with buttons of styles doesn't update its state according to position of cursor in text. It was fixed in new version of editor. To implement it JSOUP lib was added. The lib is HTML parser that can find tags in HTML text. Also a new callbacks for editor were added to get position of cursor in moment of user tapping. Tags of styles in HTML text are found for current position of cursor and panel with buttons are updated according current styles.

Pull request related to Exchange rate feature:
https://github.com/BoomApps-LLC/SteemApp-Android/pull/37

GitHub Account

My github account: https://github.com/yuriks2000
Android developer account:https://github.com/BoomAppsLLC

@yuriks2000 your loyal Steemit Witness and a CEO of BoomApps developing SteemApp, a completely free app for Steemians

If you would like to download stable SteemApp (not beta) click on the images below:

App_Store_icon 1.png

Available_in_Google_Play.png


Please support us by voting for us as Witness

Go to https://steemit.com/~witnesses

2vote-yuriks2000.gif

Or vote for us through steemconnect

Supported by ADSactly

Click on the image below to join ADSactly Discord Channel. Post about my experience joining ADSactly and who they are can be found here

Contact information

Email: info@steemitapp.com
Website: https://steemitapp.com
Steem.chat: https://steemit.chat/channel/steemapp
Telegram: https://t.me/SteemApp
Discord: https://discord.gg/X4QZfy2

Have a lovely day!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for the contribution, @yuriks2000!

It looks like a cool application - I don't usually post from my phone but I'm glad Utopian allowed me to discover something like this. Some thoughts about the pull request itself:

  • A good commit message: editor2: added style state updating on click, a not so good commit message: fixed issue - try to be more consistent.
  • There aren't really that many comments which hampers the code's readability in my opinion. The comment that are there aren't really useful either
isKeyboardOpened = true
// KEYBOARD IS OPEN

This seems pretty obvious to me, haha. It would be great if you could add function declarations at least.

Other than that everything looks good to me - great work! I don't know if you've seen this amazing guide that was written by one of our moderators yet, but I definitely recommend you check it out.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

·

Thank you for your review, @amosbastian!

So far this week you've reviewed 7 contributions. Keep up the good work!

·

Thanks a lot about your evaluation, we will note the comments recommendation to our future pull requests.

Hey @yuriks2000
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Great news I haven’t even used the app I didn’t even know app existed I’m always using browsers thank you

·

Yeah, @gclipse, we are working on this app constantly and adding new features all the time. Thank you for your support!

You got a 39.26% upvote from @upmewhale courtesy of @yuriks2000!

Earn 100% earning payout by delegating SP to @upmewhale. Visit http://www.upmewhale.com for details!