skip to Main Content

Android Studio – how i can fix databinding error while inflate view

When I normally I app run after building android studio throws this error. at com.shayan.test.databinding.ActivityMainBinding.inflate(ActivityMainBinding.java:113) E/AndroidRuntime: at com.shayan.test.MainActivity.onCreate(MainActivity.kt:14) I think I forget something to do calling method or something package com.shayan.test package com.shayan.test import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.LayoutInflater import…

VIEW QUESTION

How to use a method in a Stateful Widget from another Widget – Flutter

So i have this toggle() method in the Stateful SideBar class class SideBar extends StatefulWidget { const SideBar({super.key}); @override State<SideBar> createState() => _SideBarState(); } class _SideBarState extends State<SideBar> with SingleTickerProviderStateMixin{ void toggle() { if (_controller.isCompleted) { _controller.reverse(); } else {_controller.forward();}…

VIEW QUESTION
Back To Top
Search