Android Open Source - Stack-Chat Stack Chat Module






From Project

Back to project page Stack-Chat.

License

The source code is released under:

MIT License

If you think the Android project Stack-Chat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.noahhuppert.stackchat.modules;
/* www  . ja v a 2s .c o m*/
/**
 * Created by Noah Huppert on 11/7/2014.
 */

import com.noahhuppert.stackchat.controllers.PopNotificationController;
import com.noahhuppert.stackchat.controllers.NotificationController;

import dagger.Module;
import dagger.Provides;

/**
 * Module for all pop flavor specific injections
 */
@Module(
        overrides = true,
        injects = {
                NotificationController.class
        }

)
public class StackChatModule {
    /**
     * Provides a {@link com.noahhuppert.stackchat.controllers.JellyKitNotificationController} for Dagger
     * @return
     */
    @Provides
    public NotificationController provideNotificationController(){
        return new PopNotificationController();
    }
}




Java Source Code List

com.noahhuppert.stackchat.ApplicationTest.java
com.noahhuppert.stackchat.MainActivity.java
com.noahhuppert.stackchat.MessagesRecyclerViewAdapter.java
com.noahhuppert.stackchat.controllers.HeaderBuilder.java
com.noahhuppert.stackchat.controllers.JellyKitNotificationController.java
com.noahhuppert.stackchat.controllers.NotificationController.java
com.noahhuppert.stackchat.controllers.PopNotificationController.java
com.noahhuppert.stackchat.fragments.RoomFragment.java
com.noahhuppert.stackchat.models.KVPair.java
com.noahhuppert.stackchat.models.Message.java
com.noahhuppert.stackchat.models.Room.java
com.noahhuppert.stackchat.models.User.java
com.noahhuppert.stackchat.modules.BaseStackChatModule.java
com.noahhuppert.stackchat.modules.StackChatModule.java
com.noahhuppert.stackchat.modules.StackChatModule.java
com.noahhuppert.stackchat.tasks.GetMessagesTask.java
com.noahhuppert.stackchat.tasks.UpdateRoomMessagesTask.java