Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

ActivityLoginBinding - Class in edu.cnm.deepdive.keepintouch.databinding
 
ActivityNavigationBinding - Class in edu.cnm.deepdive.keepintouch.databinding
 
APPLICATION_ID - Static variable in class edu.cnm.deepdive.keepintouch.BuildConfig
 
autoReplies - Variable in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
AutoReply - Class in edu.cnm.deepdive.keepintouch.model.entity
An entity class for autoReply fields stored inside the KitDatabase
AutoReply() - Constructor for class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
 
AutoReplyDao - Interface in edu.cnm.deepdive.keepintouch.model.dao
An AutoReplyDao which allows us to insert, delete, update and do specific queries on the AutoReply entities.
AutoReplyRepository - Class in edu.cnm.deepdive.keepintouch.service
The autoReply Repository class that holds save, delete, and get AutoReplies by User type methods.
AutoReplyRepository(Context) - Constructor for class edu.cnm.deepdive.keepintouch.service.AutoReplyRepository
A constructor for the AutoReply repository
AutoReplyWithUserType - Class in edu.cnm.deepdive.keepintouch.model.pojo
Pojo class that is the compliment to UserType with AutoReply.
AutoReplyWithUserType() - Constructor for class edu.cnm.deepdive.keepintouch.model.pojo.AutoReplyWithUserType
 

B

bind(View) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ActivityLoginBinding
 
bind(View) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ActivityNavigationBinding
 
bind(View) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
 
bind(View) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentMessagesBinding
 
bind(View) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
 
bind(View) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
bind(View) - Static method in class edu.cnm.deepdive.keepintouch.databinding.PermissionsFragmentBinding
 
BUILD_TYPE - Static variable in class edu.cnm.deepdive.keepintouch.BuildConfig
 
BuildConfig - Class in edu.cnm.deepdive.keepintouch
 
BuildConfig() - Constructor for class edu.cnm.deepdive.keepintouch.BuildConfig
 
button1 - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
 
button2 - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
 

C

CLIENT_ID - Static variable in class edu.cnm.deepdive.keepintouch.BuildConfig
 
completeSignIn(Intent) - Method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
this method checks for a completed sign-in.
contact - Variable in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
Contact - Class in edu.cnm.deepdive.keepintouch.model.dto
A Dto, which allows us to store the information we get from the Contacts in the phone to fields we can use such as Contact.phoneNumber, Contact.displayName.
Contact() - Constructor for class edu.cnm.deepdive.keepintouch.model.dto.Contact
 
container - Variable in class edu.cnm.deepdive.keepintouch.databinding.ActivityNavigationBinding
 
createInstance(String[], String[]) - Static method in class edu.cnm.deepdive.keepintouch.controller.PermissionsFragment
A method that creates and an instances of the Permissions Fragment.

D

date - Variable in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
DEBUG - Static variable in class edu.cnm.deepdive.keepintouch.BuildConfig
 
delete(AutoReply) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
delete(AutoReply...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
delete(Collection<AutoReply>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
delete(IgnoreStatus) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
delete(IgnoreStatus...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
delete(Collection<IgnoreStatus>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
delete(User) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
delete(User...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
delete(Collection<User>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
delete(UserType) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
delete(UserType...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
delete(Collection<UserType>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
delete(AutoReply) - Method in class edu.cnm.deepdive.keepintouch.service.AutoReplyRepository
Allows us to delete certain AutoReplies from the database
delete(IgnoreStatus) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
This is a method that deletes the ignore status.
delete(User) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
A completable method that deletes the user record from the database
delete(UserType) - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
Allows us to delete the userType.

E

edu.cnm.deepdive.keepintouch - package edu.cnm.deepdive.keepintouch
 
edu.cnm.deepdive.keepintouch.adapter - package edu.cnm.deepdive.keepintouch.adapter
 
edu.cnm.deepdive.keepintouch.controller - package edu.cnm.deepdive.keepintouch.controller
 
edu.cnm.deepdive.keepintouch.controller.ui.home - package edu.cnm.deepdive.keepintouch.controller.ui.home
 
edu.cnm.deepdive.keepintouch.controller.ui.messages - package edu.cnm.deepdive.keepintouch.controller.ui.messages
 
edu.cnm.deepdive.keepintouch.controller.ui.toSms - package edu.cnm.deepdive.keepintouch.controller.ui.toSms
 
edu.cnm.deepdive.keepintouch.databinding - package edu.cnm.deepdive.keepintouch.databinding
 
edu.cnm.deepdive.keepintouch.model.dao - package edu.cnm.deepdive.keepintouch.model.dao
 
edu.cnm.deepdive.keepintouch.model.dto - package edu.cnm.deepdive.keepintouch.model.dto
 
edu.cnm.deepdive.keepintouch.model.entity - package edu.cnm.deepdive.keepintouch.model.entity
 
edu.cnm.deepdive.keepintouch.model.pojo - package edu.cnm.deepdive.keepintouch.model.pojo
 
edu.cnm.deepdive.keepintouch.service - package edu.cnm.deepdive.keepintouch.service
 
edu.cnm.deepdive.keepintouch.viewmodel - package edu.cnm.deepdive.keepintouch.viewmodel
 
equals(Object) - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
 

F

FragmentHomeBinding - Class in edu.cnm.deepdive.keepintouch.databinding
 
FragmentMessagesBinding - Class in edu.cnm.deepdive.keepintouch.databinding
 
FragmentToSmsBinding - Class in edu.cnm.deepdive.keepintouch.databinding
 

G

getAccount() - Method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
Gets back the associated google account.
getAddress() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
a getter that allows us to get the address or phone number from which a Contact sends us a message.
getAll() - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
A method to get all the autoReplies of a certain userType.
getAllAutoReplies() - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
getAllAutoReplies() - Method in class edu.cnm.deepdive.keepintouch.service.AutoReplyRepository
A repository method that is not currently being used.
getAllIgnoredContacts(int) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
getAllIgnoredContacts(int) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
A method that checks to see all of your ignored contacts.
getAutoReplies() - Method in class edu.cnm.deepdive.keepintouch.model.pojo.UserTypeWithAutoReply
 
getAutoReplies() - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
A query to get access to all the AutoReplies of a certain userType.
getAutoRepliesByUserType(long) - Method in class edu.cnm.deepdive.keepintouch.service.AutoReplyRepository
A repository method that gets all the AutoReplies for a specific userType.
getAutoRepliesWithUserType(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
getAutoReplyById(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
getAutoReplyDao() - Method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
getting the AutoReplyDao
getAutoReplyId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
Gets the AutoReply id
getBody() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
A getter that allows to get access to the actual text inside an SMS message.
getContact() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
A getter that allows us to get a Contact object back
getContactInfo(Uri) - Method in class edu.cnm.deepdive.keepintouch.service.SmsRepository
A method to get a Contact and the associated information
getContactUri() - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
Gets an Contact Uri
getCount() - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
Gets the count of ignores
getDisplayName() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Contact
This returns the display name of a contact so we can display it.
getId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
Getter for userId
getIgnoreStatus(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
getIgnoreStatus(long) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
A method that gets the ignore status by Id.
getIgnoreStatusDao() - Method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
getting the IgnoreStatusDao
getIgnoreStatusForContact(String) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
getIgnoreStatusForContact(String) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
A method to check for the ignore status of each contact.
getIgnoreStatusId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
Gets Ignore Status Id
getInstance() - Static method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
A method that gets the instance of the Google Sign In sevice
getInstance() - Static method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
Constructor that gets us the instance of the Database.
getItemCount() - Method in class edu.cnm.deepdive.keepintouch.adapter.MessageAdapter
 
getMessage() - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
Gets the actual auto replies.
getMessages() - Method in class edu.cnm.deepdive.keepintouch.service.SmsRepository
 
getMessages() - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
Gets a LiveData list of messages
getMostIgnoredContacts(int) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
getMostIgnoredContacts(int) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
 
getName() - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
Getter for the name of the UserType
getOauthKey() - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
Getter for OauthKey
getOrCreate(String) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
A method that either gets a User or creates one.
getPermissions() - Method in class edu.cnm.deepdive.keepintouch.controller.PermissionsViewModel
 
getPhoneNumber() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Contact
This returns the phone number of the contact
getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.ActivityLoginBinding
 
getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.ActivityNavigationBinding
 
getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
 
getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.FragmentMessagesBinding
 
getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
 
getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
getRoot() - Method in class edu.cnm.deepdive.keepintouch.databinding.PermissionsFragmentBinding
 
getSent() - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
Gets us the date stamp of when a message was received by the user.
getText() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.messages.MessagesViewModel
 
getText() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.toSms.ToSmsViewModel
return a Live Data of type String.
getThrowable() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
 
getThrowable() - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
Gets a LiveData of type, Throwable for us.
getUser() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
 
getUserById(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
getUserById(long) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
A repository method that gets the User by User Id.
getUserByOauthKey(String) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
getUserByUserType(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
getUserByUserType(long) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
Return a LiveData list of type User
getUserDao() - Method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
getting the UserDao
getUserType(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
getUserType() - Method in class edu.cnm.deepdive.keepintouch.model.pojo.AutoReplyWithUserType
Gets the userType object.
getUserType(long) - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
A method to get the UserTypeId.
getUserTypeByName(String) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
getUserTypeByName(String) - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
A method to get the userType by name.
getUserTypeDao() - Method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
getting the UserTypeDao
getUserTypeId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
Gets the UserType id.
getUserTypeId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
Getter for userTypeId
getUserTypeId() - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
A getter for UserTypeId
getUserTypes() - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
 
GoogleSignInService - Class in edu.cnm.deepdive.keepintouch.service
A service class that allows users to sign in through Google.
grantPermission(String) - Method in class edu.cnm.deepdive.keepintouch.controller.PermissionsViewModel
Grant permissions to the user with this method
guideline - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
 

H

hashCode() - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
 
HomeFragment - Class in edu.cnm.deepdive.keepintouch.controller.ui.home
The introductory fragment where the User selects their user type.
HomeFragment() - Constructor for class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeFragment
 
HomeViewModel - Class in edu.cnm.deepdive.keepintouch.controller.ui.home
This holds the ViewModel logic for the fragment shown to the User.
HomeViewModel(Application) - Constructor for class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
A constructor for this viewModel.

I

IgnoreStatus - Class in edu.cnm.deepdive.keepintouch.model.entity
An entity class for ignoreStatus fields stored inside the KitDatabase
IgnoreStatus() - Constructor for class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
 
IgnoreStatusDao - Interface in edu.cnm.deepdive.keepintouch.model.dao
An IgnoreStatusDao which allows us to insert, delete, update and do specific queries on the IgnoreStatus entities.
IgnoreStatusRepository - Class in edu.cnm.deepdive.keepintouch.service
This is the IgnoreStatus repository which checks to see how many times a User has been, prompted to send a response back to someone and then subsequently how many times they've been ignored.
IgnoreStatusRepository(Context) - Constructor for class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
A constructor for this repository.
imageView - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ActivityLoginBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ActivityLoginBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ActivityNavigationBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ActivityNavigationBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentMessagesBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentMessagesBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.keepintouch.databinding.PermissionsFragmentBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.keepintouch.databinding.PermissionsFragmentBinding
 
insert(AutoReply) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
insert(AutoReply...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
insert(Collection<AutoReply>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
insert(IgnoreStatus) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
insert(IgnoreStatus...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
insert(Collection<IgnoreStatus>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
insert(User) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
insert(User...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
insert(Collection<User>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
insert(UserType) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
insert(UserType...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
insert(Collection<UserType>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
ItemMessageBinding - Class in edu.cnm.deepdive.keepintouch.databinding
 

K

KeepInTouchApplication - Class in edu.cnm.deepdive.keepintouch
This is the main application class for Kit.
KeepInTouchApplication() - Constructor for class edu.cnm.deepdive.keepintouch.KeepInTouchApplication
 
KitDatabase - Class in edu.cnm.deepdive.keepintouch.service
A Database class that keeps track of AutoReplies, Ignore Status of a contact, Users, and their User Type.
KitDatabase() - Constructor for class edu.cnm.deepdive.keepintouch.service.KitDatabase
 

L

LoginActivity - Class in edu.cnm.deepdive.keepintouch.controller
This is the activity in which the Google Sign In logging in takes place.
LoginActivity() - Constructor for class edu.cnm.deepdive.keepintouch.controller.LoginActivity
 

M

MainViewModel - Class in edu.cnm.deepdive.keepintouch.viewmodel
This is the MainViewModel class which extends AndroidViewModel and implements LifecycleObserver.
MainViewModel(Application) - Constructor for class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
Constructor for the MainViewModel
message - Variable in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
Message - Class in edu.cnm.deepdive.keepintouch.model.dto
A Dto, which allows us to store the information we get from the incoming messages in the phone to fields we can use such as Message.body, Message.sent, Message.contact, and Message.address.
Message() - Constructor for class edu.cnm.deepdive.keepintouch.model.dto.Message
 
MessageAdapter - Class in edu.cnm.deepdive.keepintouch.adapter
This is an adapter for the recyclerView that contains both the late messages from contacts and the autoReplies that they can send back to the their contacts.
MessageAdapter(Context, List<Message>, List<? extends AutoReply>, MessageAdapter.OnSendClickListener) - Constructor for class edu.cnm.deepdive.keepintouch.adapter.MessageAdapter
Constructor for the messaging RecyclerView.
MessageAdapter.OnSendClickListener - Interface in edu.cnm.deepdive.keepintouch.adapter
An interface that listens for when the Send It button is clicked and an autoReply is selected from the associated spinner.
messages - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentMessagesBinding
 
MessagesFragment - Class in edu.cnm.deepdive.keepintouch.controller.ui.messages
A fragment that houses the messages and contact info of the user's contacts
MessagesFragment() - Constructor for class edu.cnm.deepdive.keepintouch.controller.ui.messages.MessagesFragment
 
MessagesViewModel - Class in edu.cnm.deepdive.keepintouch.controller.ui.messages
BUilt in implementation of a viewModel for the messages fragment.
MessagesViewModel() - Constructor for class edu.cnm.deepdive.keepintouch.controller.ui.messages.MessagesViewModel
 

N

NavigationActivity - Class in edu.cnm.deepdive.keepintouch.controller
This is the NavigationActivity that allows the user to navigate between fragments with the bottom button navigation style.
NavigationActivity() - Constructor for class edu.cnm.deepdive.keepintouch.controller.NavigationActivity
 
navView - Variable in class edu.cnm.deepdive.keepintouch.databinding.ActivityNavigationBinding
 

O

onAcknowledge(String[]) - Method in class edu.cnm.deepdive.keepintouch.controller.NavigationActivity
A helper method that allows us to acknowledge which permissions we need.
onAcknowledge(String[]) - Method in interface edu.cnm.deepdive.keepintouch.controller.PermissionsFragment.OnAcknowledgeListener
Continues permissions request flow after user has acknowledged permission rationales.
onActivityResult(int, int, Intent) - Method in class edu.cnm.deepdive.keepintouch.controller.LoginActivity
 
onBindViewHolder(MessageAdapter.Holder, int) - Method in class edu.cnm.deepdive.keepintouch.adapter.MessageAdapter
 
onClick(Message, AutoReply) - Method in interface edu.cnm.deepdive.keepintouch.adapter.MessageAdapter.OnSendClickListener
 
onCreate(Bundle) - Method in class edu.cnm.deepdive.keepintouch.controller.LoginActivity
 
onCreate(Bundle) - Method in class edu.cnm.deepdive.keepintouch.controller.NavigationActivity
 
onCreate() - Method in class edu.cnm.deepdive.keepintouch.KeepInTouchApplication
 
onCreateDialog(Bundle) - Method in class edu.cnm.deepdive.keepintouch.controller.PermissionsFragment
 
onCreateOptionsMenu(Menu) - Method in class edu.cnm.deepdive.keepintouch.controller.NavigationActivity
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeFragment
An onCreateView that inflates the FragmentHomeBinding
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.messages.MessagesFragment
Creates a view and binds this fragment to it.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.toSms.ToSmsFragment
The deprecated, but built in way to create the view for a fragment in Java.
onCreateViewHolder(ViewGroup, int) - Method in class edu.cnm.deepdive.keepintouch.adapter.MessageAdapter
 
onItemSelected(AdapterView<?>, View, int, long) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeFragment
 
onItemSelected(AdapterView<?>, View, int, long) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.toSms.ToSmsFragment
 
onNothingSelected(AdapterView<?>) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeFragment
 
onNothingSelected(AdapterView<?>) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.toSms.ToSmsFragment
 
onOptionsItemSelected(MenuItem) - Method in class edu.cnm.deepdive.keepintouch.controller.NavigationActivity
 
onRequestPermissionsResult(int, String[], int[]) - Method in class edu.cnm.deepdive.keepintouch.controller.NavigationActivity
 
onSupportNavigateUp() - Method in class edu.cnm.deepdive.keepintouch.controller.NavigationActivity
 
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeFragment
 
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.messages.MessagesFragment
 

P

PermissionsFragment - Class in edu.cnm.deepdive.keepintouch.controller
Displays rationales (as a simple alert dialog) for requested permissions.
PermissionsFragment() - Constructor for class edu.cnm.deepdive.keepintouch.controller.PermissionsFragment
 
PermissionsFragment.OnAcknowledgeListener - Interface in edu.cnm.deepdive.keepintouch.controller
Callback interface for returning control to controller managing permissions request flow.
PermissionsFragmentBinding - Class in edu.cnm.deepdive.keepintouch.databinding
 
PermissionsViewModel - Class in edu.cnm.deepdive.keepintouch.controller
A view model for the Permissions Dialogue fragment
PermissionsViewModel() - Constructor for class edu.cnm.deepdive.keepintouch.controller.PermissionsViewModel
 

R

refresh() - Method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
A google task that silently signs the user in if their token is expired!
refreshMessages() - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
refreshes the incoming messages, or throws a throwable.
revokePermission(String) - Method in class edu.cnm.deepdive.keepintouch.controller.PermissionsViewModel
Revoke currently granted permissions with this method

S

save(User) - Method in class edu.cnm.deepdive.keepintouch.controller.ui.home.HomeViewModel
A method that saves the User or throws a throwable.
save(AutoReply) - Method in class edu.cnm.deepdive.keepintouch.service.AutoReplyRepository
A method that saves the autoReplies so they cant be sent out by the different User types.
save(IgnoreStatus) - Method in class edu.cnm.deepdive.keepintouch.service.IgnoreStatusRepository
A save method to update the ignoreStatus on each contact.
save(User) - Method in class edu.cnm.deepdive.keepintouch.service.UserRepository
A completable method that either adds the User to the database, and
save(UserType) - Method in class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
Either insert a userType into the DB, or update the userType
selectAllAutoReplies() - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
selectAllWithAutoReplies() - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
selectById(long) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
selectUserType - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
 
send - Variable in class edu.cnm.deepdive.keepintouch.databinding.ItemMessageBinding
 
sendMessage(String, String) - Method in class edu.cnm.deepdive.keepintouch.service.SmsRepository
Uses an smsManager object to send a text, running on a background thread.
sendMessage(String, String) - Method in class edu.cnm.deepdive.keepintouch.viewmodel.MainViewModel
This is a method to send a text message out, it utilizes the same method in the smsRepository.
setAddress(String) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
a setter that allows us to set the phone number for which we send a message to.
setAutoReplies(List<AutoReply>) - Method in class edu.cnm.deepdive.keepintouch.model.pojo.UserTypeWithAutoReply
Set a list of Auto Replies
setAutoReplyId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
Sets the AutoReply id
setBody(String) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
Allows us to set the body of an SMS message.
setContact(Contact) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
A setter that allows us to set the Contact object associated with a given message
setContactUri(String) - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
Sets an Contact Uri
setContext(Application) - Static method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
A setter for the context
setContext(Application) - Static method in class edu.cnm.deepdive.keepintouch.service.KitDatabase
Constructor for the database.
setCount(int) - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
Gets the count of ignores
setDisplayName(String) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Contact
Setter that allows us to change the display name of a contact, necessary
setId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
Setter for userId.
setIgnoreStatusId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.IgnoreStatus
Sets Ignore Status Id
setMessage(String) - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
Sets the actual auto replies.
setName(String) - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
Setter for the name of the UserType
setOauthKey(String) - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
Setter for OauthKey
setPhoneNumber(String) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Contact
This sets the phone number of a contact.
setSent(Date) - Method in class edu.cnm.deepdive.keepintouch.model.dto.Message
Sets the timestamp for a message.
setUserType(UserType) - Method in class edu.cnm.deepdive.keepintouch.model.pojo.AutoReplyWithUserType
Setter for the userType
setUserTypeId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
Sets the UserType id.
setUserTypeId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.User
Setter for userTypeId
setUserTypeId(long) - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
A Setter for UserTypeId
signIn - Variable in class edu.cnm.deepdive.keepintouch.databinding.ActivityLoginBinding
 
signOut() - Method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
This task is a google task that signs out the user.
SmsRepository - Class in edu.cnm.deepdive.keepintouch.service
A repository for my DTOs of Contacts and Messages....
SmsRepository(Context) - Constructor for class edu.cnm.deepdive.keepintouch.service.SmsRepository
A constructor for this Sms Repository
startSignIn(Activity, int) - Method in class edu.cnm.deepdive.keepintouch.service.GoogleSignInService
A method that starts the Sign in activity.

T

textDashboard - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentMessagesBinding
 
textHome - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentHomeBinding
 
textNotifications - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentToSmsBinding
 
ToSmsFragment - Class in edu.cnm.deepdive.keepintouch.controller.ui.toSms
The ToSmsFragment class that will lead to the native android messaging application.
ToSmsFragment() - Constructor for class edu.cnm.deepdive.keepintouch.controller.ui.toSms.ToSmsFragment
 
ToSmsViewModel - Class in edu.cnm.deepdive.keepintouch.controller.ui.toSms
ViewModel for the fragment that will lead to (currently doesn't lead to) the external SMS messaging app.
ToSmsViewModel() - Constructor for class edu.cnm.deepdive.keepintouch.controller.ui.toSms.ToSmsViewModel
A constructor for the viewModel class.
toString() - Method in class edu.cnm.deepdive.keepintouch.model.entity.AutoReply
 
toString() - Method in class edu.cnm.deepdive.keepintouch.model.entity.UserType
 

U

update(AutoReply) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
update(AutoReply...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
update(Collection<AutoReply>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.AutoReplyDao
 
update(IgnoreStatus) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
update(IgnoreStatus...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
update(Collection<IgnoreStatus>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.IgnoreStatusDao
 
update(User) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
update(User...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
update(Collection<User>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserDao
 
update(UserType) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
update(UserType...) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
update(Collection<UserType>) - Method in interface edu.cnm.deepdive.keepintouch.model.dao.UserTypeDao
 
User - Class in edu.cnm.deepdive.keepintouch.model.entity
A User entity class that holds the data associated with a User including OauthKey, UserId, and UserTypeId.
User() - Constructor for class edu.cnm.deepdive.keepintouch.model.entity.User
 
UserDao - Interface in edu.cnm.deepdive.keepintouch.model.dao
A UserDao which allows us to insert, delete, update and do specific queries on the User entities.
UserRepository - Class in edu.cnm.deepdive.keepintouch.service
Currently not planning to use a query to getAll Users in this Repository back yet, because KiT is currently limited to one user on the device, but I may implement the query in the near future.
UserRepository(Context) - Constructor for class edu.cnm.deepdive.keepintouch.service.UserRepository
A constructor for the User Repository class.
UserType - Class in edu.cnm.deepdive.keepintouch.model.entity
A userType Entity that holds the names of the userType and the ids.
UserType() - Constructor for class edu.cnm.deepdive.keepintouch.model.entity.UserType
 
UserTypeDao - Interface in edu.cnm.deepdive.keepintouch.model.dao
An UserTypeDao which allows us to insert, delete, update and do specific queries on the userType entities.
UserTypeRepository - Class in edu.cnm.deepdive.keepintouch.service
A UserType repository with a save method, delete method, and queries
UserTypeRepository(Context) - Constructor for class edu.cnm.deepdive.keepintouch.service.UserTypeRepository
Constructor for the userType Repository.
UserTypeWithAutoReply - Class in edu.cnm.deepdive.keepintouch.model.pojo
Pojo class that is the compliment to AutoReply with UserType.
UserTypeWithAutoReply() - Constructor for class edu.cnm.deepdive.keepintouch.model.pojo.UserTypeWithAutoReply
 

V

VERSION_CODE - Static variable in class edu.cnm.deepdive.keepintouch.BuildConfig
 
VERSION_NAME - Static variable in class edu.cnm.deepdive.keepintouch.BuildConfig
 

W

waitingIndicator - Variable in class edu.cnm.deepdive.keepintouch.databinding.FragmentMessagesBinding
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links