Comments (5)
سلام
بله درست میگید بنده این حالتو در نظر نگرفتم
ولی خب مگه پکیج این دوتا کتابخونه متفاوت نیست؟
اگر اینطور هست نباید مشکلی پیش بیاد
خط اخر نوشتههای شما هم برای بنده خیلی قابل فهم نبود
اگر ممکنه واضح تر بگید
با تشکر
from persianmaterialdatetimepicker.
ozr mikham az in ke dir javab dadam, latin minevisam ke RTL esh be ham nakhore ;)
package bale jodas manam ta'ajobam az hamine ke chera conflict mikhore. jomleye akhare payame bala ham in bood:
"zaheran har doye ina ro kenare ham nemishe too ye project ba gradle dasht va nahayatan mogheye run kardan be exception o conflict beyne class haye library e shoma bar mikhore..."
fekr konam be onvane ye workaround e movaghat shayad in kar javab bede ke source ro be onvane module dakhele app bezaramo test konam. amma shayad behtar bashe ye joore dige in moshkel hal beshe shayad masalan shoma betoonid har 2 taghvime khorshidio miladi ro ba ham too ye library gharar bedid va merge request bedid baraye oon yeki library...
baz ham mamnoon az tavajohetoon
from persianmaterialdatetimepicker.
jahate asoon tar shodane kar in exception hastesh:
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.payamgostar.formmaker, PID: 3063 java.lang.ClassCastException: com.wdullaer.materialdatetimepicker.date.AccessibleDateAnimator cannot be cast to com.mohamadamin.persianmaterialdatetimepicker.date.AccessibleDateAnimator at com.mohamadamin.persianmaterialdatetimepicker.date.DatePickerDialog.onCreateView(DatePickerDialog.java:255) at android.app.Fragment.performCreateView(Fragment.java:2053) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.app.BackStackRecord.run(BackStackRecord.java:834) at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452) at android.app.FragmentManagerImpl$1.run(FragmentManager.java:447) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
from persianmaterialdatetimepicker.
ye rahe hale sade ine ke dakhele DatePickerDialog va har jaye dige ke cast anjam dadid az class haye khodetoon, cast ha ro ba esme package anjam bedid... ye rahe dige ham ine ke kolan esme tamame class hatoon ro avaz konid.
from persianmaterialdatetimepicker.
man ino halesh kardam, shoma kafie resource haye layout etoon ro esme hamashoon ro avaz konid, ye refactor --> rename konid.
etefaghi ke miofte ine ke vaghti az in library va oon yeki library kenare ham estefade mishe, chon az resource haye xml e ham nam estefade mikonid (be khosoos dar layout), vaghti mikhad layout inflate beshe az R ya resource e shoma ro mikhoone ya baraye library e asli (English), va vaghti mikhad oon view ro cast kone nemitoone in karo anjam bede chon class e view ha too package haye mokhtalefi hastan va mahiate motefavet va version haye motefaveti daran.
dar vaghe class haye javaye shoma doroste va too package haye khodeshoon hastan amma resource haye layout etoon vaghti dar yek R e vahed gharar migiran ba ham be conflict mikhore.
man noskheye english ro module kardam va resource haye oono taghire nam dadam chon project e shoma module nemishod zaheran ye seri az file hatoon dorost config nist. age khodetoon betoonid rename konid va version e jadid bedid kheyli khoob mishe, zemne in ke too noskheye jadide taghvime english emkane taghire rang az dakhele java ham faraham shode (setAccentColor()) oono ham mitoonid merge konid begirid.
from persianmaterialdatetimepicker.
Related Issues (20)
- سوال HOT 1
- اشتباه در ماه اردیبهشت HOT 1
- اشتباه در اعلام تاریخ اردیبهشت 98 HOT 1
- عدم sync
- usage in react native
- زبان انگلیسی
- تغییرات در قسمت ui
- java.lang.NoSuchFieldError: No static field date_picker_header
- اشتباه در انتخاب تاریخ. HOT 2
- getfragmentmanager() is deprecated
- memory leak
- تبدیل تایم گرینویچ
- يك ماه جلو تر در selectableDays
- مشکل داشتن با نسخه جدیدکتابخانه متریال گوگل
- حذف فیلد روز HOT 1
- مشکل در نمایش دیالوگ تاریخ HOT 2
- روش نصب
- پیشنهاد توسعه
- منسوخ شدن jcenter() HOT 1
- تو androidx ساپورت نمیشه
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from persianmaterialdatetimepicker.