Reply to comments in Steemit using Mixion, and a fatal crash fixed.

in #utopian-io7 years ago (edited)

What is Mixion?

Currently, Mixion is the only Native Android app that serves as a Client for steemit.com

Bug Fixes

  • Fixed a fatal crash caused by the steemJ library

SteemJ currently uses a deprecated API call which causes connection to fail. This caused Mixion to crash when attempting to create a new post.

  • What was the solution?

First of all, I implemented better error handling to avoid future crashes. But most importantly, SteemJ had to be up and running. Luckily, there was an opened pull request which contain all the required fixes to get steemj up and running again. For this I had to download the fixed version, run a local build, and throw it inside Mixion along with all the required steemJ dependencies. and Voila! everything works now.

New Features

  • Reply to Comments,
    mixion6.png

You are now able to reply to comments, all you need to do is scroll down to the comments section in any post, tap on a comment, and a new bottom sheet window will pop out, you can expand it and write your comment to it directly. I have not integrated replying to posts yet as that will require an entire new layout. Since commenting on posts support the full range of features as a post itself, I will create a whole new layout instead of using a simple one as found in the comment reply.

  • How did you implement the new features?
  1. this first thing was to create the layout and the bottomsheet fragment this is responsible for displaying the single comment and allowing you to write a reply.

  2. There were a few more details, like making it look pretty, and adding the text input field (Called an EditText in Android).

  3. After that, I setup the required input parameters in order to perform a comment operation on steemit.

Whats Next?

  • Reply to discussions

I'll probably get this done in the next few days

  • Load nested replies

Each comment can have a reply of it's own, and you can reply to each reply of a reply. The way I setup the comments bottomsheet, it should be easy to load all nested replies and then reply to each reply.

Cotributions

Please follow the contributions document when contributing.

Code Changes

Mar 25 -Mar 27

Get it from Google Play

Mixion on Google Play

Verification

image



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @edgar-trem I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

WARNING - The message you received from @sagagee is a CONFIRMED SCAM!
DO NOT FOLLOW any instruction and DO NOT CLICK on any link in the comment!
For more information, read this post: https://steemit.com/steemit/@arcange/phishing-site-reported-autosteem-dot-info
Please consider to upvote this warning if you find my work to protect you and the platform valuable. Your support is welcome!