Fixed compiling issues

This commit is contained in:
Akash Yadav
2021-12-09 10:37:27 +05:30
parent 34bbdbfe65
commit 53c5ce1f0f
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
<manifest package="com.itsaky.androidide.ui.inflater"/>
<manifest package="com.itsaky.layoutinflater"/>
@@ -205,7 +205,7 @@ class XMLLayoutInflater extends BaseLayoutInflater {
.asSubclass(IAttributeAdapter.class);
return adapterClass.newInstance();
} catch (Throwable th) {
LOG.error (BaseApplication.getBaseInstance().getString(com.itsaky.androidide.common.R.string.err_no_attr_adapter, view.getClass().getName()), th);
LOG.error (BaseApplication.getBaseInstance().getString(com.itsaky.layoutinflater.R.string.err_no_attr_adapter, view.getClass().getName()), th);
}
// If we cannot find a suitable adapter, fall back to using common adapters
@@ -1,5 +1,5 @@
/************************************************************************************
* This file is part of AndroidIDE
* This file is part of AndroidIDE.
*
* AndroidIDE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -238,7 +238,7 @@ public class ViewAttrAdapter implements IAttributeAdapter {
}
if (!handled && params instanceof RelativeLayout.LayoutParams) {
handled = handleRelativeLayoutParams ((RelativeLayout.LayoutParams) params, view, name, value);
handled = handleRelativeLayoutParams ((RelativeLayout.LayoutParams) params, view, name, value, resFinder);
}
if (!handled && params instanceof ViewGroup.MarginLayoutParams) {
@@ -15,7 +15,7 @@
* along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
*
**************************************************************************************/
package com.itsaky.androidide.ui.util;
package com.itsaky.layoutinflater.util;
import com.blankj.utilcode.util.FileIOUtils;
import com.blankj.utilcode.util.FileUtils;
@@ -69,7 +69,7 @@ public class ValuesTable {
read.whenComplete((__, th) -> {
if (th != null) {
LOG.error(BaseApplication.getBaseInstance().getString(com.itsaky.androidide.common.R.string.err_cannot_read_values), th);
LOG.error(BaseApplication.getBaseInstance().getString(com.itsaky.layoutinflater.R.string.err_cannot_read_values), th);
} else {
initialized = true;
}
+2
View File
@@ -0,0 +1,2 @@
# SDK Data
These files are taken directly from the Android SDK