Write code to build a URI
to query the weather
with location within the weatherEntry
inner class within weatherContract.
Look at the instructor notes for
a link to the URI builder classes for
how to do this.
Uncomment out the test
weatherLocation function within
test weatherContract to
verify your implementation.
اكتبوا تعليمة برمجية لبناء URI
للاستعلام عن الطقس
مع الموقع الموجود بداخل فئة weatherEntry
.الداخلية بداخل weatherContract
راجعوا ملاحظات المدرب للحصول على
رابط إلى فئات منشئ URI
.للتعرف على كيفية القيام بذلك
قوموا بإلغاء التعليق على اختبار
دالة weatherLocation بداخل اختبار
weatherContract
.للتحقق من التنفيذ
WeatherContractの
WeatherEntry内部クラス内に
WeatherとLocationをクエリする
URIを構築しましょう
やり方は講師メモのリンクから
UriBuilderクラスを参照してください
testWeatherContract内で
testWeatherLocation関数のコメントを外し
実装が正しく完了したか確認してください
Escreva um código para criar uma URI
para consultar a previsão do tempo
com localização na classe interna
weatherEntry dentro de weatherContract.
Veja, nas notas do instrutor,
um link para as classes de criação de URI
e como fazer isso.
Remova o comentário da função
weatherLocation de teste dentro do
weatherContract de teste para
verificar sua implementação.
Viết code để tạo một URI truy vấn đến thời tiết
với vị trí trong weatherEntry inner class trong weatherContract.
Xem instuctor notes để lấy link đến URI builder class
và cách để thực hiện nó
Uncomment out the test
weatherLocation function within
test weatherContract để kiểm tra code của bạn
请编写代码来构建 URI 以查询 weatherContract 的
weatherEntry 内部类中位置的天气情况
请参阅讲师备注 访问 URI 生成器类的链接
了解如何执行该操作
取消测试 weatherContract 中对测试 weatherLocation 函数的注释
从而验证你的实现结果