Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
4a2cf20f
Commit
4a2cf20f
authored
Aug 30, 2018
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for analyticsManager not initialized
parent
a6937fca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
MembersFragmentProvider.kt
...chat/rocket/android/members/di/MembersFragmentProvider.kt
+6
-0
MemberBottomSheetFragment.kt
...at/rocket/android/members/ui/MemberBottomSheetFragment.kt
+2
-0
No files found.
app/src/main/java/chat/rocket/android/members/di/MembersFragmentProvider.kt
View file @
4a2cf20f
...
...
@@ -2,6 +2,7 @@ package chat.rocket.android.members.di
import
chat.rocket.android.members.ui.MembersFragment
import
chat.rocket.android.dagger.scope.PerFragment
import
chat.rocket.android.members.ui.MemberBottomSheetFragment
import
dagger.Module
import
dagger.android.ContributesAndroidInjector
...
...
@@ -11,4 +12,9 @@ abstract class MembersFragmentProvider {
@ContributesAndroidInjector
(
modules
=
[
MembersFragmentModule
::
class
])
@PerFragment
abstract
fun
provideMembersFragment
():
MembersFragment
@ContributesAndroidInjector
()
@PerFragment
abstract
fun
provideMemberBottomSheetFragment
():
MemberBottomSheetFragment
}
\ No newline at end of file
app/src/main/java/chat/rocket/android/members/ui/MemberBottomSheetFragment.kt
View file @
4a2cf20f
...
...
@@ -11,6 +11,7 @@ import chat.rocket.android.analytics.event.ScreenViewEvent
import
chat.rocket.android.util.extensions.content
import
chat.rocket.android.util.extensions.textContent
import
com.google.android.material.bottomsheet.BottomSheetDialogFragment
import
dagger.android.support.AndroidSupportInjection
import
kotlinx.android.synthetic.main.fragment_member_bottom_sheet.*
import
javax.inject.Inject
...
...
@@ -51,6 +52,7 @@ class MemberBottomSheetFragment : BottomSheetDialogFragment() {
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
AndroidSupportInjection
.
inject
(
this
)
val
bundle
=
arguments
if
(
bundle
!=
null
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment