Spotted a bug? Have a great idea? Help us make google.dev great! Submit feedback google.dev Send feedback Return to pathway In which component should you add the data-formatting logic that uses the Transformations.map method? ViewModel Activity Fragment MainActivity The Transformations.map method provides an easy way to perform data manipulations on the LiveData and returns ___ A RoomDatabase object A formatted String A ViewModel object A LiveData object What are the parameters for the Transformations.map method? No parameters ViewModel and a function to be applied Only a source LiveData A source LiveData and a function to be applied to the LiveData The lambda function passed in to the method Transformations.map is executed in which thread? In a coroutine UI thread Main thread Background thread Submit answers error_outline An error occurred when grading the quiz. Please try again.