Junior — Middle
Can you tell about your most impressive personal project?
sobes.tech AI
Answer from AI
One of my most impressive personal projects is an Android application for managing personal finances. It features a user-friendly interface for adding income and expenses, as well as charts for visualizing the budget. The app uses Room for local data storage and MVVM architecture with LiveData and ViewModel for reactive UI updates.
Example code for ViewModel:
class FinanceViewModel(private val repository: FinanceRepository) : ViewModel() {
val allTransactions: LiveData<List<Transaction>> = repository.getAllTransactions().asLiveData()
fun insert(transaction: Transaction) = viewModelScope.launch {
repository.insert(transaction)
}
}
This project helped me better understand architectural patterns and working with databases on Android.