6
ক্রিয়াকলাপে নেই এমন স্থানে getoutLayoutInflater () এ কল করুন
কী আমদানি করা দরকার বা কীভাবে আমি ক্রিয়াকলাপ বাদে অন্য জায়গায় লেআউটকে ইনফ্লেটার বলতে পারি? public static void method(Context context){ //this doesn't work the getLayoutInflater method could not be found LayoutInflater inflater = getLayoutInflater(); // this also doesn't work LayoutInflater inflater = context.getLayoutInflater(); } আমি getLayoutInflaterকেবল ক্রিয়াকলাপে কল করতে পারি …