badoo / badoo/Chatto

Refresh input bar

Open
#547 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.6k
Forks
588
PR merge metrics
No merged PRs in 30d

Description

Hi,
I wanted to have multiple input items which is enable to select depend on the last message received. Currently i manage to observe last message then force it to refresh using ```super.viewDidLoad()```, the problem is the input bar will be duplicated.
So is it possible to make ```inputView``` refresh with new ```createChatInputView```?
I'm pretty new for swift so i'm really appreciate any direction.

Thank you.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how inputView and createChatInputView are used, then reproduce the refresh triggered after observing the last message and calling super.viewDidLoad(). Done should allow the input items to change based on the last message without duplicating the input bar.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.