Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
53fb1054
Commit
53fb1054
authored
1 year ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
home: cleanup
Change-Id: I2ad853fb8232787e41619f9aae3cd3e7b2c44060
parent
5361cc0d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
jami-android/libjamiclient/src/main/kotlin/net/jami/home/HomePresenter.kt
+0
-14
0 additions, 14 deletions
...jamiclient/src/main/kotlin/net/jami/home/HomePresenter.kt
with
0 additions
and
14 deletions
jami-android/libjamiclient/src/main/kotlin/net/jami/home/HomePresenter.kt
+
0
−
14
View file @
53fb1054
...
@@ -29,25 +29,11 @@ import javax.inject.Inject
...
@@ -29,25 +29,11 @@ import javax.inject.Inject
import
javax.inject.Named
import
javax.inject.Named
class
HomePresenter
@Inject
constructor
(
class
HomePresenter
@Inject
constructor
(
private
val
conversationFacade
:
ConversationFacade
,
private
val
preferencesService
:
PreferencesService
,
@
param
:
Named
(
"UiScheduler"
)
private
val
uiScheduler
:
Scheduler
)
:
RootPresenter
<
HomeView
>()
{
)
:
RootPresenter
<
HomeView
>()
{
private
val
querySubject
=
BehaviorSubject
.
createDefault
(
""
)
private
val
debouncedQury
=
querySubject
.
debounce
{
item
->
if
(
item
.
isEmpty
())
Observable
.
empty
()
else
Observable
.
timer
(
350
,
TimeUnit
.
MILLISECONDS
)
}.
distinctUntilChanged
()
override
fun
bindView
(
view
:
HomeView
)
{
override
fun
bindView
(
view
:
HomeView
)
{
super
.
bindView
(
view
)
super
.
bindView
(
view
)
}
}
fun
queryTextChanged
(
query
:
String
)
{
Log
.
w
(
TAG
,
"queryTextChanged $query"
)
querySubject
.
onNext
(
query
)
}
fun
clickQRSearch
()
{
fun
clickQRSearch
()
{
view
?.
goToQRFragment
()
view
?.
goToQRFragment
()
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment