সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ইনপুট
ভবিষ্যতের মোশন ইভেন্টের পূর্বাভাস দিয়ে ইনপুট ইন্টারঅ্যাকশনের লেটেন্সি কমিয়ে দিন
সর্বশেষ আপডেট | স্থিতিশীল রিলিজ | প্রার্থী মুক্তি | বিটা রিলিজ | আলফা রিলিজ |
---|
13 আগস্ট, 2025 | - | - | 1.0.0-বিটা06 | - |
নির্ভরতা ঘোষণা করা
ইনপুটের উপর নির্ভরতা যোগ করতে, আপনাকে অবশ্যই আপনার প্রকল্পে Google Maven সংগ্রহস্থল যোগ করতে হবে। আরও তথ্যের জন্য Google এর Maven সংগ্রহস্থল পড়ুন।
আপনার অ্যাপ বা মডিউলের জন্য build.gradle
ফাইলে আপনার প্রয়োজনীয় আর্টিফ্যাক্টগুলির জন্য নির্ভরতা যোগ করুন:
গ্রোভি
dependencies {
implementation "androidx.input:input-motionprediction:1.0.0-beta06"
}
কোটলিন
dependencies {
implementation("androidx.input:input-motionprediction:1.0.0-beta06")
}
নির্ভরতা সম্পর্কে আরও তথ্যের জন্য, বিল্ড নির্ভরতা যুক্ত করুন দেখুন।
প্রতিক্রিয়া
আপনার প্রতিক্রিয়া জেটপ্যাককে আরও ভাল করতে সাহায্য করে। আপনি যদি নতুন সমস্যা আবিষ্কার করেন বা এই লাইব্রেরির উন্নতির জন্য ধারনা পান তাহলে আমাদের জানান। আপনি একটি নতুন তৈরি করার আগে অনুগ্রহ করে এই লাইব্রেরিতে বিদ্যমান সমস্যাগুলি দেখুন৷ আপনি তারকা বোতামে ক্লিক করে একটি বিদ্যমান সমস্যায় আপনার ভোট যোগ করতে পারেন।
একটি নতুন সমস্যা তৈরি করুন
আরও তথ্যের জন্য ইস্যু ট্র্যাকার ডকুমেন্টেশন দেখুন।
এই শিল্পকর্মের জন্য কোন রিলিজ নোট নেই.
সংস্করণ 1.0
13 আগস্ট, 2025
androidx.input:input-motionprediction:1.0.0-beta06
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta06-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- উপলব্ধ থাকলে লাইব্রেরি এখন সিস্টেম পূর্বাভাস API ব্যবহার করবে।
এপিআই পরিবর্তন
- অপ্রচলিত
@RequiresApi(21)
টীকা ( I9103b ) সরানো হচ্ছে
2 অক্টোবর, 2024
androidx.input:input-motionprediction:1.0.0-beta05
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta05-এ এই কমিট রয়েছে।
বাগ ফিক্স
- অনুরোধকৃত পরিমাণের বাইরে যাওয়া থেকে পূর্বাভাস প্রতিরোধ করুন ( Ifbf49 , b/369330439 )
- নতুন প্ল্যাটফর্ম API-এ অ্যাক্সেসের ম্যানুয়াল রূপরেখা সরানো হয়েছে যেহেতু AGP 7.3 বা তার পরে (যেমন R8 সংস্করণ 3.3) এবং AGP 8.1 বা তার পরবর্তী (যেমন D8 সংস্করণ 8.1) ব্যবহার করার সময় R8 ব্যবহার করার সময় এটি স্বয়ংক্রিয়ভাবে API মডেলিংয়ের মাধ্যমে ঘটে। যে সকল ক্লায়েন্ট AGP ব্যবহার করছেন না তাদের D8 সংস্করণ 8.1 বা তার পরবর্তী সংস্করণে আপডেট করার পরামর্শ দেওয়া হচ্ছে। আরো বিস্তারিত জানার জন্য এই নিবন্ধটি দেখুন. ( if6b4c , b/345472586 )
1 মে, 2024
androidx.input:input-motionprediction:1.0.0-beta04
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta04-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- ভবিষ্যদ্বাণী হঠাৎ বন্ধ হবে না
- বিল্ট-ইন পূর্বাভাস এখন সিস্টেম ওয়ানের পরিবর্তে ডিফল্ট
বাগ ফিক্স
- androidx লাইব্রেরির ডিফল্ট
minSdkVersion
হিসেবে 21-এ যান ( I6ec7f ) - মাল্টি পয়েন্টার ইভেন্টের জন্য ইভেন্টের সময় ঠিক করুন ( 04824a )।
- প্রথম পয়েন্টারের জন্য ঐতিহাসিক টাইমস্ট্যাম্প ঠিক করুন ( dee0b0 )।
- একাধিক পয়েন্টার উপস্থিত থাকলে খারাপ ঐতিহাসিক সময় ঠিক করুন ( 1189fa )।
20 সেপ্টেম্বর, 2023
androidx.input:input-motionprediction:1.0.0-beta03
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta03 এই কমিট ধারণ করে।
নতুন বৈশিষ্ট্য
- সঠিক টুল ব্যবহার করার সময় ভবিষ্যদ্বাণীর আত্মবিশ্বাস বাড়ান। ( 57cb7c6 )
- অপ্টিমাইজ করা বিল্ট-ইন ভবিষ্যদ্বাণী লাইব্রেরি মেমরি বরাদ্দ। ( 0b7686e )
জুলাই 26, 2023
androidx.input:input-motionprediction:1.0.0-beta02
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta02-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- Android U সিস্টেম পূর্বাভাস API ( I7261f ) এর জন্য সমর্থন যোগ করুন
এপিআই পরিবর্তন
- এইচ-থ্রু এম-পাথের জন্য সর্বজনীন এবং পরীক্ষামূলক API ফাইলগুলি একত্রিত করা হয়েছে ( Ic4630 , b/278769092 )
বাগ ফিক্স
- পূর্বাভাসিত গতি ইভেন্টগুলি এখন সঠিক ডাউন এবং ইভেন্টের সময় রিপোর্ট করে ( I40059 )
22 মার্চ, 2023
androidx.input:input-motionprediction:1.0.0-beta01
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-beta01-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- পূর্বাভাসিত গতি ইভেন্টগুলিতে ওরিয়েন্টেশন এবং টিল্ট উপস্থিত থাকে
- গতিশীলভাবে গণনা করা পূর্বাভাস অভ্যন্তরীণ
এপিআই পরিবর্তন
-
close
পদ্ধতি সরানো হয়েছে কারণ এটির আর প্রয়োজন নেই ( I84349 )
7 ডিসেম্বর, 2022
androidx.input:input-motionprediction:1.0.0-alpha02
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02 এই কমিট ধারণ করে।
এপিআই পরিবর্তন
-
record
জন্য recordMovement
নাম পরিবর্তন করুন এবং close
জন্য dispose
( I018c0 )
24 অক্টোবর, 2022
androidx.input:input-motionprediction:1.0.0-alpha01
প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিট রয়েছে।
নতুন বৈশিষ্ট্য
- ইনপুট পূর্বাভাস AndroidX লাইব্রেরির প্রাথমিক প্রকাশ। ভবিষ্যতের গতির ইভেন্টের পূর্বাভাস দিয়ে ইনপুট ইন্টারঅ্যাকশনের অনুভূত লেটেন্সি কমাতে এটি একটি API অন্তর্ভুক্ত করে।
এপিআই পরিবর্তন
-
MotionEventPredictor
প্রবর্তন করে, একটি ইউটিলিটি যা পূর্বে প্রাপ্তদের উপর ভিত্তি করে পূর্বাভাসিত গতি ইভেন্ট প্রদান করে।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-13 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-08-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Input\n\ninput\n=====\n\nAPI Reference \n[androidx.input](/reference/kotlin/androidx/input/package-summary) \nReduce the latency of input interactions by predicting future MotionEvents \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|-----------------|----------------|-------------------|---------------------------------------------------------------|---------------|\n| August 13, 2025 | - | - | [1.0.0-beta06](/jetpack/androidx/releases/input#1.0.0-beta06) | - |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on Input, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n implementation \"androidx.input:input-motionprediction:1.0.0-beta06\"\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n implementation(\"androidx.input:input-motionprediction:1.0.0-beta06\")\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:1263170%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=1263170&template=1745246)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nThere are no release notes for this artifact.\n\nVersion 1.0\n-----------\n\n### Version 1.0.0-beta06\n\nAugust 13, 2025\n\n`androidx.input:input-motionprediction:1.0.0-beta06` is released. Version 1.0.0-beta06 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/1ddcc5c5a15362711a13f1d8a5b4278a4f7d5440..e53274587ab3eb7dde3a27872b6dfbfd7e55172f/input/input-motionprediction).\n\n**New Features**\n\n- The library will now use the system prediction API if available.\n\n**API Changes**\n\n- Removing obsolete `@RequiresApi(21)` annotations ([I9103b](https://android-review.googlesource.com/#/q/I9103beb2d5f73470f3abfdf034bc2b473be923e6))\n\n### Version 1.0.0-beta05\n\nOctober 2, 2024\n\n`androidx.input:input-motionprediction:1.0.0-beta05` is released. Version 1.0.0-beta05 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/fbd1ac175922f44c69a13545d194066ee428b342..1ddcc5c5a15362711a13f1d8a5b4278a4f7d5440/input/input-motionprediction).\n\n**Bug Fixes**\n\n- Prevent prediction from going beyond requested amount ([Ifbf49](https://android-review.googlesource.com/#/q/Ifbf492418e3a15ff4743526a394c2da7c3941268), [b/369330439](https://issuetracker.google.com/issues/369330439))\n- Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See [this article](https://medium.com/androiddevelopers/mitigating-soft-verification-issues-in-r8-and-d8-7e9e06827dfd) for more details. ([If6b4c](https://android-review.googlesource.com/#/q/If6b4ccfca0a943b45971a422b58949b13a10bada), [b/345472586](https://issuetracker.google.com/issues/345472586))\n\n### Version 1.0.0-beta04\n\nMay 1, 2024\n\n`androidx.input:input-motionprediction:1.0.0-beta04` is released. Version 1.0.0-beta04 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/91bb8c1f81dcb031bda00fcd8e55f1e890b56f06..fbd1ac175922f44c69a13545d194066ee428b342/input/input-motionprediction).\n\n**New Features**\n\n- Prediction will not stop suddenly\n- Built-in prediction is now the default instead of the system one\n\n**Bug Fixes**\n\n- Move to 21 as the default `minSdkVersion` of androidx libraries ([I6ec7f](https://android-review.googlesource.com/#/q/I6ec7f80aafbe04c64c8f2d8fef82d4cd5c68525e))\n- Fix down event time for the multi pointer events ([04824a](https://android-review.googlesource.com/#/q/04824a47b59e4708fe7964bcfb36631148430d1d)).\n- Fix historical timestamp for the first pointer ([dee0b0](https://android-review.googlesource.com/#/q/dee0b0c4a6113a23fbf26021aa81cf05cd01cdc2)).\n- Fix bad historical time when multiple pointers are present ([1189fa](https://android-review.googlesource.com/#/q/1189fa5f6841e2290dff8b86921ab63857cbd2c4)).\n\n### Version 1.0.0-beta03\n\nSeptember 20, 2023\n\n`androidx.input:input-motionprediction:1.0.0-beta03` is released. [Version 1.0.0-beta03 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/4aed940027a19667e67d155563fc5fa8b7279313..91bb8c1f81dcb031bda00fcd8e55f1e890b56f06/input/input-motionprediction)\n\n**New Features**\n\n- Increase prediction confidence when using accurate tools. ([57cb7c6](https://android.googlesource.com/platform/frameworks/support/+/57cb7c62c62fe4c95643d4777dbf3443f7ba7d1b))\n- Optimized built-in prediction library memory allocation. ([0b7686e](https://android.googlesource.com/platform/frameworks/support/+/0b7686e0df49ea98b1b4e91979197ed3f6107574))\n\n### Version 1.0.0-beta02\n\nJuly 26, 2023\n\n`androidx.input:input-motionprediction:1.0.0-beta02` is released. [Version 1.0.0-beta02 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/5e7d256f82fbafb6d059ab7b18fddd87c7531553..4aed940027a19667e67d155563fc5fa8b7279313/input/input-motionprediction)\n\n**New Features**\n\n- Add support for Android U system prediction API ([I7261f](https://android-review.googlesource.com/#/q/I7261fd0bdcfe0283ff9edbb4e19940bc4731c83e))\n\n**API Changes**\n\n- Merged public and experimental API files for h- thru m-paths ([Ic4630](https://android-review.googlesource.com/#/q/Ic46302e01e1352d8b4d37cb2468ef61474e79df3), [b/278769092](https://issuetracker.google.com/issues/278769092))\n\n**Bug Fixes**\n\n- Predicted motion events now report the correct down and event time ([I40059](https://android-review.googlesource.com/#/q/I400595643e50e8cdd5c2686df65ce4cd7965b598))\n\n### Version 1.0.0-beta01\n\nMarch 22, 2023\n\n`androidx.input:input-motionprediction:1.0.0-beta01` is released. [Version 1.0.0-beta01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/4a2f5e696614339c1ac21f706c1a17c0285780e7..5e7d256f82fbafb6d059ab7b18fddd87c7531553/input/input-motionprediction)\n\n**New Features**\n\n- Orientation and tilt are present in the predicted motion events\n- Dynamically calculated prediction internals\n\n**API Changes**\n\n- Removed `close` method as it is no longer needed ([I84349](https://android-review.googlesource.com/#/q/I843491e06b583282a4a085737429c80bc6322d99))\n\n### Version 1.0.0-alpha02\n\nDecember 7, 2022\n\n`androidx.input:input-motionprediction:1.0.0-alpha02` is released. [Version 1.0.0-alpha02 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/e3511bdaf82f43eeb8c415c3313a3f3904adc82b..4a2f5e696614339c1ac21f706c1a17c0285780e7/input/input-motionprediction)\n\n**API Changes**\n\n- Renamed `recordMovement` to `record`, and `dispose` to `close` ([I018c0](https://android-review.googlesource.com/#/q/I018c04a32c9129d6559ee85819d9a82773fd376f))\n\n### Version 1.0.0-alpha01\n\nOctober 24, 2022\n\n`androidx.input:input-motionprediction:1.0.0-alpha01` is released. [Version 1.0.0-alpha01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/548c8ac2570ae6cf15798fea1380491f7d93796b/input/input-motionprediction)\n\n**New Features**\n\n- Initial release of the input prediction AndroidX library. This includes an API to reduce the perceived latency of input interactions by predicting future motion events.\n\n**API Changes**\n\n- Introduces `MotionEventPredictor`, a utility that provides predicted motion events based on the previously received ones."]]