具有捕获错误功能的模型中的数据绑定错误

时间:2018-06-19 12:11:54

标签: xml android-studio data-binding

突然我在AndroidStudio中遇到此错误,并且我没有更改模型中的任何内容。
错误是这样的:

public class MyModel extends AbsModel {

    ...
    public void pickDate(View v) {
        DateTime.pickDate(context, dateAnswer::set);
    }
    ...

}

这是带有pickDate函数的模型的一部分:

import requests
from bs4 import BeautifulSoup
#Finds the imdb rating of a given movie or TV series
search_term1="What is the imdb rating of "
search_term2=input("Enter the name of the movie or TV Series : ")
search_term=search_term1+search_term2
response=requests.get("https://www.google.co.in/search?q="+search_term)

soup = BeautifulSoup(response.text, 'html5lib')
match=soup.find('div.slp.f')
#i tried 'div',_class="slp.f"
print(match) #this line is returning none

0 个答案:

没有答案